Recategorize a transaction
set_transaction_categoryUse this only when the person asks to change the category of a transaction, for example "file this Costco charge under Groceries" or "always put Uber under Transport". Takes a transaction id from search_transactions or find_unusual_transactions and one of Sprout's categories. With applyToCompany, Sprout also makes a rule that files every past and future charge from the same company there. Changes Sprout's view only, never the bank's records; repeating it changes nothing more. Confirm the transaction and category with the person before calling.
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": {
"transactionId": "<transactionId>",
"category": "<category>"
},
"name": "set_transaction_category"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| category | Yes | The category to file it under. | |
| transactionId | Yes | Transaction id from search_transactions or find_unusual_transactions. | |
| applyToCompany | No | Also file every past and future charge from the same company here. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| rule | Yes | ||
| category | Yes | ||
| transactionId | Yes |