update_account
Update an existing GnuCash account's properties such as name, description, notes, account type, or placeholder status. Specify the account by path or GUID.
Instructions
Update an existing account's properties.
Args: name: Account ref to update (full path e.g. "Expenses:Groceries", %short GUID, or full 32-char GUID) new_name: New name for the account (just the leaf name, not full path) description: New description placeholder: New placeholder status (true = container only) account_type: New account type (e.g., "CREDIT", "BANK"). Only changes within the same debit/credit polarity are allowed — e.g., LIABILITY to CREDIT, ASSET to BANK. Cross-polarity changes (e.g., ASSET to LIABILITY) are blocked. notes: New notes (max 4096 bytes; shared with GnuCash desktop's Notes field). Pass "" to clear.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | ||
| notes | No | ||
| new_name | No | ||
| description | No | ||
| placeholder | No | ||
| account_type | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |