log_trip
Record one public transport trip (date, from, to, fare, mode, which account paid) so it counts towards a monthly total and the subsidy estimate. Writes to your own ledger; a bearer API key is required and the call counts against the same monthly allowance as the REST endpoint.
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": {
"date": "<date>",
"from": "<from>",
"to": "<to>",
"fare": "<fare>",
"mode": "<mode>",
"paid_with": "<paid_with>"
},
"name": "log_trip"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| to | Yes | Destination, e.g. "Tsim Sha Tsui". | |
| date | Yes | Travel date, YYYY-MM-DD. | |
| fare | Yes | Fare paid in HKD, e.g. 10.6 | |
| from | Yes | Origin, e.g. "Central". | |
| mode | Yes | Transport mode. | |
| paid_with | Yes | Which account paid the fare. |