Line and network status
get_line_statusCheck London line status and severity now or for future dates, including planned works and network-wide notices such as strikes, to see which services are disrupted.
Instructions
Status of London lines with our severity, now or for later dates (published works), plus network-wide notices such as strikes. affected gives only the two ends of a section: every station between them is affected too, so to know whether one trip is hit, call plan_journey for it. A line under status_unknown_lines is not known to be running well.
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_line_status"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| to | No | end of that window; default the end of the from day | |
| from | No | date or ISO 8601 time to look at published works from; default now | |
| lines | No | line ids, e.g. victoria, elizabeth, windrush, 133; default every rail line | |
| modes | No | tube, dlr, elizabeth-line, overground, tram, bus, river-bus, cable-car, national-rail; with from or to, bus and national-rail need line ids in lines | |
| only_disrupted | No | leave out lines with a good service |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| note | No | ||
| lines | Yes | ||
| notices | Yes | ||
| confidence | Yes | ||
| attribution | Yes | ||
| retrieved_at | Yes | ||
| valid_for_minutes | Yes | ||
| good_lines_omitted | No | lines with a good service that did not fit | |
| notices_unavailable | No | network-wide notices could not be read | |
| more_disrupted_lines | No | disrupted lines that did not fit: ask for them by id | |
| status_unknown_lines | No | lines whose status cannot be read: not a good service |