Lists trip/mileage deduction transactions (tagged mileage-deduction or name contains 'mileage').
Use with an AI agent
Export this page as Markdown or bundle it with a task for your agent.
Try a task
Preview the prompt that will be copied
Access
- Effect: Read-only
- Required scope:
read(themcpscope also grants it)
Example request
The JSON-RPC message an MCP client sends to call this tool. Your client builds it for you; this is for reference and debugging in a tool such as MCP Inspector.
{
"jsonrpc": "2.0",
"id": 1,
"method": "tools/call",
"params": {
"name": "list_trip_mileage_logs",
"arguments": {}
}
}Example IDs refer to fictional demo data. Replace them with IDs from your account before calling the real server.
Description
Lists trip/mileage deduction transactions (tagged mileage-deduction or name contains 'mileage').
No dedicated trip-mileage API exists — this aggregates mileage-tagged transactions from list_transactions.
periodHint (or a period phrase in query) such as "this month" or "last month" limits the date range. Any other text in query filters by transaction name, description or vendor.Input parameters
| Name | Type | Required | Description |
|---|---|---|---|
limit | integer | No | |
periodHint | string | No | |
query | string | No | |
skip | integer | No |
Full input schema (JSON Schema)
{
"additionalProperties": false,
"properties": {
"limit": {
"type": [
"null",
"integer"
]
},
"periodHint": {
"type": [
"null",
"string"
]
},
"query": {
"type": [
"null",
"string"
]
},
"skip": {
"type": [
"null",
"integer"
]
}
},
"type": "object"
}