get_alerts
Check service alerts for any NSW stop or network-wide to avoid disruptions, trackwork, and planned changes. Filter by time, current status, and result count to get only relevant alerts.
Instructions
Retrieve service alerts: disruptions, trackwork and planned changes.
Pass a stop_id whenever you can. A network-wide fetch returns every alert in
NSW — hundreds of them — so results are capped: `count` is the true total
and `returned` is how many are included.
Args:
when: Optional ISO 8601 date/time to check alerts for; Sydney local time
if no offset given. Defaults to now.
stop_id: Restrict to alerts affecting one stop. Omit for network-wide.
current_only: Only alerts in effect now. Set false to include future ones.
max_results: Maximum alerts to return.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| when | No | ||
| stop_id | No | ||
| max_results | No | ||
| current_only | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||