Update category
update_categoryChanges a category's name, type, description or color; only the fields you pass change. Changing the type moves all of the category's records between income and expense.
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": {
"id": "<id>"
},
"name": "update_category"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | Category ID from list_categories. | |
| name | No | New name. | |
| type | No | New type: INCOME or EXPENSE. | |
| color | No | New display color as a hex code, e.g. #1976d2; an empty string removes it. | |
| description | No | New description; an empty string removes it. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| category | Yes |