accounting_categories_update
Update an accounting category by renaming it, changing its account type, or setting or clearing its code while keeping existing rules and overrides linked.
Instructions
Rename a category, change its account type, or set or clear its code. Pass at least one. Renaming keeps every rule and override pointing at it.
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": {
"categoryId": "<categoryId>"
},
"name": "accounting_categories_update"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| code | No | New account number | |
| label | No | New name | |
| clearCode | No | Remove the category's account number | |
| workspace | No | Workspace alias to run this command in (see `splits auth workspaces`). Overrides SPLITS_WORKSPACE and the active workspace. | |
| categoryId | Yes | Category id from 'accounting categories list' | |
| accountType | No | New account type |