get-tickets
get-ticketsQuery available train tickets on 12306 by specifying travel date, departure, and destination stations to find suitable train options.
Instructions
查询12306余票信息。
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>",
"fromStation": "<fromStation>",
"toStation": "<toStation>"
},
"name": "get-tickets"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| date | Yes | ||
| fromStation | Yes | ||
| toStation | Yes | ||
| trainFilterFlags | No | ||
| earliestStartTime | No | ||
| latestStartTime | No | ||
| sortFlag | No | ||
| sortReverse | No | ||
| limitedNum | No | ||
| format | No |