Service alerts and disruptions
perturbacoesRetrieves current CP service alerts such as strikes, works, and disruptions, with optional text search, body details, homepage-only filtering, and expired-alert inclusion.
Instructions
Current CP service alerts (strikes, works, disruptions). Expired alerts are dropped unless include_expired. Use include_body for the full text (larger response). query filters title, subtitle and body (accent-insensitive).
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": "perturbacoes"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| lang | No | pt | |
| query | No | Text filter, e.g. a line, station, or 'greve' | |
| include_body | No | Include the plain-text body and footnote | |
| homepage_only | No | Only alerts featured on the cp.pt homepage | |
| include_expired | No |