set_category
Correct transaction categories by setting a category for one transaction or applying merchant-level updates to past and future imports.
Instructions
Correct a category. Merchant-level corrections apply to past and future imports.
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": {
"category": "<category>"
},
"name": "set_category"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| category | Yes | One of: groceries, restaurants, transport, fuel, utilities, telecom, subscriptions, health, shopping, electronics, entertainment, travel, education, rent, cash_withdrawal, transfers, fees, salary, other_income, uncategorized. | |
| merchant | No | Merchant/description text; the correction applies to all its rows. | |
| transaction_id | No | Correct one transaction only (id from a query). |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| note | Yes | ||
| scope | Yes | ||
| target | Yes | ||
| category | Yes | ||
| rows_updated | Yes |