wafeq_expenses_partial_update
Partially update an existing expense by changing only the fields you specify, such as amount, date, account, or attachments, while preserving the rest of the record.
Instructions
🟡 WRITE · updates data · Expenses · PATCH /expenses/{id}/
Partial update expense
Endpoint for partially updating an existing expense.
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": {
"id": "<id>"
},
"name": "wafeq_expenses_partial_update"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | ||
| body | No | An entity that can have attachments. | |
| idempotency_key | No | Optional idempotency key (sent as the X-Wafeq-Idempotency-Key header). A UUID v4 is generated automatically when omitted, so an automatic network retry can never duplicate this operation. Pass your own stable value to make a deliberate re-invocation safe as well. |