delete_account
Remove an account from the GnuCash chart of accounts. Built-in safeguards prevent deletion if the account has children or transactions.
Instructions
Delete an account from the chart of accounts.
Safeguards prevent deletion if the account has children or transactions.
Args: name: Account ref to delete (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>"
},
"name": "delete_account"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |