Export a trip as expenses
trip_exportReturn the exact expense_add arguments for a saved trip: one payload for subsistence and, with split_lodging, one for lodging. It writes nothing in the expense-tracker server; only mark_exported changes this trip. Pro.
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": {
"trip": "<trip>"
},
"name": "trip_export"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| trip | Yes | Trip id such as TRIP-2026-0001, or an exact or partial trip name | |
| billable | No | Rebillable to the client. Default: true when the trip has a project, false otherwise | |
| category | No | Expense category to put on the payload. Default "travel" | |
| mark_exported | No | Stamp exported_at on the trip so a later export can see it already went out. Default false | |
| split_lodging | No | Return lodging as its own expense rather than folded into the subsistence total. Default true |