approve_transactions
What it does
Section titled “What it does”Mark transactions as approved, i.e. reviewed (clears YNAB’s “unapproved” badge).
Only approve transactions whose category has been checked.
Behaviour
Section titled “Behaviour”| Kind | write — hidden unless AVENIR_MCP_WRITE=1 |
| Confirmation | no |
| Undo | no |
| Destructive | no |
| Idempotent | yes |
| YNAB requests | 1 for the example below, on a cold cache |
Parameters
Section titled “Parameters”| Name | Type | Required | Default | Description |
|---|---|---|---|---|
plan_id |
string | yes | — | YNAB plan id or ‘last-used’. |
tx_ids |
array of string | yes | — | Transaction UUIDs to approve. |
Returns
Section titled “Returns”| Field | Type | Description |
|---|---|---|
approved |
integer | Number of transactions YNAB updated. |
Example
Section titled “Example”Arguments:
{ "plan_id": "demo-budget", "tx_ids": [ "tx-048", "tx-049" ]}Answer on the demo budget:
{ "approved": 2}Errors
Section titled “Errors”This tool raises no error of its own; YNAB’s errors come back as Error calling tool '<tool>': YNAB <status>: <detail>.
Unofficial project. We are not affiliated, associated, or in any way officially connected with YNAB or any of its subsidiaries or affiliates. The official YNAB website can be found at https://www.ynab.com. The names YNAB and You Need A Budget, as well as related names, tradenames, marks, trademarks, emblems, and images are registered trademarks of YNAB. avenir-mcp is provided as is, without warranty, and is not financial advice. Legal notice · Privacy