Add expense
add-expenseAdds an expense to the budget with a fixed amount, e.g. the dress or the rings. A booked vendor already gets its expense automatically; link one with vendor_id instead of adding it twice.
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": {
"name": "<name>"
},
"name": "add-expense"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | ||
| notes | No | ||
| amount | No | In euro, e.g. "1500" or "1.234,56". | |
| category | No | Budget category name (see get-budget); created when new. | |
| vendor_id | No | The vendor this expense is for, from list-vendors. | |
| purchased_on | No | YYYY-MM-DD, default today. |