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.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| description | Yes |