get_train_status
Retrieve Toei rail service notices with provider timestamps and expiry dates; optionally filter by a line ID to check current disruptions and verify valid_until before use.
Instructions
Get Toei rail service notices with provider timestamps and expiry.
Supply a line ID from search_railway to restrict the notices. An empty
result means the API returned no matching notices. Check valid_until
before using a notice as current information.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "get_train_status"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| line_id | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |