categorize_transaction
Assign budget categories to raw transaction descriptions using an LLM classifier. Returns category, confidence, and reasoning, validating categories before output.
Instructions
Suggest a budget category for a raw transaction description via an LLM classifier.
description: raw text as it might appear on a statement, e.g. "TESCO STORES 3421 LONDON".
Returns category (one of rent/food/transport/savings/business_expense/ entertainment/other), confidence (0-1), and reasoning. The category is checked against the allowed list before being returned - an invalid category from the model surfaces as an error rather than being passed through.
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": {
"description": "<description>"
},
"name": "categorize_transaction"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| description | Yes |