List Expenses
tripsy_expenses_listTrip expenses. Supports common list filters. Safety: Closed-world: operates within the authenticated user's Tripsy account and accessible trips.
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_id": "<trip_id>"
},
"name": "tripsy_expenses_list"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| fields | No | Optional response field allow-list. Sent as the API fields query parameter. | |
| deleted | No | When true, list deleted records where the endpoint supports it; useful when a recoverable delete needs to be inspected or undone. | |
| trip_id | Yes | Tripsy trip id. | |
| activity_type | No | Optional activity category slug filter. Only used by activities. | |
| updated_since | No | Optional ISO-8601 timestamp for incremental list filtering. | |
| fields_exclude | No | Optional response field deny-list. Sent as the API fields! query parameter. | |
| transportation_type | No | Optional transportation type slug filter. Only used by transportations. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| data | No | Tripsy API response payload or tool-specific structured data. | |
| summary | Yes | Short human-readable summary of the Tripsy operation result. | |
| status_code | No | HTTP status code returned by the Tripsy API when the tool called the API. |