move_account
Relocate an account to a new parent in the chart of accounts, preserving its children and balances. Only the account hierarchy position changes; transaction data remains unaffected.
Instructions
Move an account — children and balances ride along — under a new parent in the hierarchy.
No transaction data changes: only the account's position (and therefore every descendant's full path) is rewritten. Errors, changing nothing, if either ref matches no account, if the move would create a cycle (new parent is the account itself or one of its descendants), or if the new parent already has a child of the same name. %short GUIDs survive the move; saved full paths do not. Use update_account to rename in place instead of moving.
Args: name: Account ref to move (full path e.g. "Expenses:Old:Account", %short GUID, or full 32-char GUID) new_parent: New parent account ref (full path, %short GUID, or full 32-char GUID)
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": {
"name": "<name>",
"new_parent": "<new_parent>"
},
"name": "move_account"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | ||
| new_parent | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |