add_expense
Add a new expense entry with amount, category, and optional date/description to maintain accurate personal expense records.
Instructions
Add a new expense to the tracker.
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": {
"amount": "<amount>",
"category": "<category>"
},
"name": "add_expense"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| date | No | Optional date of the expense in YYYY-MM-DD format. Defaults to current date. | |
| amount | Yes | The amount of the expense. | |
| category | Yes | The category of the expense (e.g., Food, Transport, Utilities). | |
| description | No | Optional description of the expense. |