Manage accounts and groups
manage_accountsCreate, update, close, reopen, delete, bank-sync, or annotate accounts and account groups in Actual Budget by choosing an action; use list_entities to find IDs before writes.
Instructions
Create, change, close, reopen, delete, bank-sync or annotate accounts and account groups; pick one action. Writes. To read or find ids use list_entities; month notes belong to manage_budget_months. Other fields are refused. entity (account or account_group) is required for create, update and delete; close takes account or nothing. create: entity, name; optional balance (account, integer cents) and offbudget (account). update: entity, id and at least one of name, offbudget, closed, account_group_id (a group id, or null to ungroup) (account) or name (account_group); to close or reopen prefer those actions. close: id; optional transfer_account_id (required for a non-zero balance, not id itself), transfer_category_id (required when a non-zero on-budget account closes into an off-budget one, refused otherwise); an account with no transactions is REMOVED, not closed. reopen: id. delete: entity, id; DESTRUCTIVE, cannot be undone: an account takes its transactions with it and the other half of each transfer stays, unlinked (a closed account is not deleted: reopen it first), a group leaves its accounts ungrouped. bank_sync: optional account_id (omit for every linked open account); reaches the bank providers. set_note: id, note ("" clears); id is any entity UUID, not budget-YYYY-MM; for a category or payee note prefer manage_categories or manage_payees, so each note is set by the tool of its entity kind. Returns { result: id } (create account), { result: { id, name } } (create group), { success, accountId, updatedFields } (update account), { result: { success, id, updated } } (update group), { success, closed | alreadyClosed | removed } (close), { success, reopened | alreadyOpen } (reopen), { success, detachedTransfers } (delete account), { result: { success, id } } (delete group), { result, newTransactions, matchedTransactions, updatedAccounts, truncated } (bank_sync), { result: { success, id, note, cleared } } (set_note).
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_accounts"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | No | Account id (account group id with entity account_group). | |
| name | No | Name, 1 to 255 characters. | |
| note | No | Note text; "" clears it. | |
| action | Yes | ||
| closed | No | Closed flag. | |
| entity | No | account or account_group. | |
| balance | No | Opening balance, integer cents. | |
| offbudget | No | Off-budget flag. | |
| account_id | No | Account id; omit to sync every linked account. | |
| account_group_id | No | Account group id; null ungroups. | |
| transfer_account_id | No | Account that receives the remaining balance. | |
| transfer_category_id | No | Category for the balancing transaction. |