Category rules
category_rulesReplace the merchant-to-category rules, or call with no rules to list them. Returns the stored rule list. The rules are applied by expense_add whenever a call gives no category of its own.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "category_rules"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| rules | No | The FULL rule list; it replaces the stored one, so include the rules you want to keep. Omit to list the current rules instead |