Search Fare
search_fareSearch fares between two stations using ODPT data for Tokyo Metro and Toei. Provide departure and arrival stations to receive the fare directly, with optional language selection (ja/en/zh).
Instructions
🚃 運賃検索 - 2駅間の運賃をODPTデータから検索します(東京メトロ・都営対応)。サーバー内で運賃を直接返します。language(ja/en/zh)指定で応答言語を強制可能。
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": {
"from": "<from>",
"to": "<to>"
},
"name": "search_fare"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| to | Yes | 到着駅 | |
| from | Yes | 出発駅 | |
| language | No | 応答言語の強制指定(省略時は駅名から自動判定) |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| status | Yes | SUCCESS / NO_DATA / ERROR など | |
| message | No | ||
| detected_language | No | ja / en / zh |