Manage transactions
manage_transactionsCreate, update, delete, import, merge, or transfer Actual Budget transactions by choosing an action, with integer-cent amounts and YYYY-MM-DD dates.
Instructions
Create, change, delete, import, merge or transfer transactions; pick one action. Writes. To read use search_transactions; ids come from list_entities. Cents are integers, outflows negative; dates YYYY-MM-DD. Other fields are refused. create: account, date, amount; optional payee, payee_name, notes, category, cleared, imported_id, subtransactions. update: id and at least one of account, date, amount, payee, payee_name, imported_payee, category, notes, imported_id, cleared, reconciled, subtransactions; null clears payee, category or notes. update_batch: updates (1 to 50), NOT atomic, reported per item, no splits. delete: id; DESTRUCTIVE, permanent, balances change, cannot be undone. import: account_id, txs; matched like a bank import (rules applied; duplicates by imported_id or same amount within 7 days). merge: ids (two); DESTRUCTIVE, keeps one row by the upstream rule, deletes the other, cannot be undone. transfer: from_account, to_account, amount (positive), date; optional notes. Returns { success, id } (create; id often null, success false when an id is unknown or a payee is a transfer payee), { success } or { success, split } (update, delete), { succeeded, failed, total, successCount, failureCount } (update_batch), { result: { added, updated, errors } } (import), { result: { success, keptId, deletedId } } (merge), { result } (transfer; same or unknown account: result.success false).
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"action": "<action>"
},
"name": "manage_transactions"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | No | Transaction id. | |
| ids | No | Two transaction ids. | |
| txs | No | Rows {date, amount, imported_id?, payee_name?, category?, notes?}. | |
| date | No | YYYY-MM-DD. | |
| notes | No | Notes; "#word" tags it. | |
| payee | No | Payee id. | |
| action | Yes | ||
| amount | No | Integer cents, outflow negative. | |
| account | No | Account id. | |
| cleared | No | Cleared flag. | |
| updates | No | 1 to 50 {id, fields}; fields as update, minus imported_id, reconciled, subtransactions. | |
| category | No | Category id. | |
| account_id | No | Account id. | |
| payee_name | No | Payee name (matched, else created). | |
| reconciled | No | Reconciled flag. | |
| to_account | No | Target account id. | |
| imported_id | No | Source id. | |
| from_account | No | Source account id. | |
| imported_payee | No | Imported payee. | |
| subtransactions | No | Split {amount, category?, notes?}; cents sum to amount. |