Delete a category
delete_categoryUse this to delete a category no expense uses. expectedRevision is the category's lockVersion from get_group.
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": {
"groupToken": "<groupToken>",
"categoryToken": "<categoryToken>",
"expectedRevision": "<expectedRevision>"
},
"name": "delete_category"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| groupToken | Yes | The group's token, from `listGroups` or `listSearchResults`. | |
| categoryToken | Yes | The category's token, from `showGroup`. | |
| expectedRevision | Yes | The `lockVersion` the client last saw on the record it is changing. A mismatch is `409 CONFLICT` with the record as the server now has it. |