poll_flight
Checks a specified flight for changed content using an optional ETag, returning not_modified when unchanged. Use it to refresh cached flight details without subscribing to or adding the flight.
Instructions
Poll changing flight content, optionally using If-None-Match. Does not subscribe/add a flight.
Uses the app's bodyless content-sync POST and X-Sync-Priority 0 or 10. A 304 result has not_modified=true. Prefer cached list_flights for routine reads.
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": {
"flight_id": "<flight_id>"
},
"name": "poll_flight"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| etag | No | ||
| priority | No | ||
| flight_id | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||