Edit a budget expense on a Wanderlog trip
wanderlog_edit_expenseEdit an existing Wanderlog trip budget expense by matching a description substring, then update its amount, currency, category, date, or description while preserving other fields.
Instructions
Edits an existing budget expense on a Wanderlog trip. Find the expense by a case-insensitive substring of its description, then change any of: description, amount, currency, category, date.
If none match, an error is returned. If several match, a numbered list is returned and nothing is changed — narrow with a more specific description or a date / amount / currency filter. Only the fields you supply via new_* are modified; all other fields on the expense are preserved.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| date | No | Optional exact date filter to disambiguate which expense to edit. | |
| amount | No | Optional exact amount filter to disambiguate which expense to edit. | |
| currency | No | Optional ISO 4217 currency filter to disambiguate which expense to edit. | |
| new_date | No | New date for the expense, YYYY-MM-DD. Updates both the expense date and the budget day it's grouped under (Wanderlog's budget list displays this date). Omit to leave unchanged. | |
| trip_key | Yes | The trip whose expense to edit. | |
| new_amount | No | New cost amount (e.g. 50, 12.50). Omit to leave unchanged. | |
| description | Yes | Case-insensitive substring matching the description of the expense to edit. | |
| new_category | No | New expense category. Omit to leave unchanged. | |
| new_currency | No | New ISO 4217 currency code (e.g. 'EUR'). Normalized to uppercase. Omit to leave unchanged. | |
| new_description | No | New description text. Omit to leave unchanged. |