get_category_transaction_count
Count the transactions filed under a category, planned ones and split lines included. Call it before delete_category: a category with transactions can only be deleted with replaceWithCategoryId, and the count is the number that would be reassigned. A category that does not exist or is not yours (or shared with you) is not found.
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": "get_category_transaction_count"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| categoryId | Yes | Category id (from get_categories). |