parse_expense
Parse a natural language expense description into structured fields. Does NOT add the expense: returns fields to show the user; once they approve, save with add_cash_expense. Example: "Lunch at Chipotle $15.50 today" → {merchant: "Chipotle", total: 15.50, ...}
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": {
"text": "<text>"
},
"name": "parse_expense"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| text | Yes | Natural language expense (e.g., "Coffee at Starbucks $6.50 yesterday") |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| success | Yes | ||
| expenses | Yes | ||
| categoryNames | Yes | ||
| validationErrors | Yes |