Create Category Rule
create_category_ruleCreate a rule to auto-categorize future transactions matching a pattern. Requires confirmation: true.
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": {
"pattern": "<pattern>",
"category_id": "<category_id>",
"confirmation": "<confirmation>"
},
"name": "create_category_rule"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| pattern | Yes | Description pattern to match | |
| match_type | No | Match type (default CONTAINS) | |
| category_id | Yes | ||
| confirmation | Yes | Must be true to execute the mutation | |
| idempotencyKey | No | Optional idempotency key — calls with the same key (per-user, within 24h) return the cached response without re-executing. |