update_spending
Update an existing expense record by providing its ID and any new values for date, amount, source, category, or description.
Instructions
Update an existing expense record
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": {
"spendingId": "<spendingId>"
},
"name": "update_spending"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| date | No | New date (YYYY-MM-DD) | |
| amount | No | New amount | |
| sourceId | No | New source ID | |
| categoryId | No | New category ID | |
| spendingId | Yes | Spending ID | |
| description | No | New description |