add_expense
Record a new expense with title, amount, category, and optional date or note. Use this tool to log spending into your finance tracker for accurate personal expense summaries.
Instructions
Add a new expense entry to the database.
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": {
"title": "<title>",
"amount": "<amount>",
"category": "<category>"
},
"name": "add_expense"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| date | No | ISO date YYYY-MM-DD (defaults to today) | |
| note | No | Optional extra description | |
| title | Yes | Short name, e.g. 'Lunch at Subway' | |
| amount | Yes | Amount spent (positive number) | |
| category | Yes | e.g. 'Food', 'Transport', 'Shopping' |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||