add_expense
Add an expense to the database with required amount and category, plus optional date, description, and subcategory.
Instructions
Add a new expense 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": {
"amount": "<amount>",
"category": "<category>"
},
"name": "add_expense"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| date | No | ||
| amount | Yes | ||
| category | Yes | ||
| description | No | ||
| subcategory | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||