Update expense
update_expenseUpdate an expense's details or replace its receipt image.
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": {
"expense_id": "<expense_id>"
},
"name": "update_expense"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| data | No | Alias for image_base64. | |
| vendor | No | ||
| category | No | ||
| currency | No | ||
| filename | No | ||
| guide_id | No | ||
| spent_on | No | ||
| booking_id | No | ||
| expense_id | Yes | ||
| activity_id | No | ||
| business_id | No | The id of the business to act on, from list_businesses. Optional when this connection covers a single business. | |
| description | No | ||
| amount_cents | No | ||
| content_type | No | ||
| image_base64 | No | Base64-encoded receipt image (PNG, JPEG, WebP, GIF, or HEIC). | |
| receipt_data_url | No | A data URL for the receipt image, or null to remove the receipt. |