update_account
Change an existing GnuCash account's properties: rename, edit description/notes, toggle placeholder, or adjust account type within the same debit/credit polarity. Identify 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 |