subway_nearby
Subway store proximity search by coordinate or free-text address/city/ZIP, or a direct lookup by store id: distance, live open status, payment methods, catering link and feature flags.
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": "subway_nearby"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | Optional. Maximum stores to return, 1-20, default 10. | |
| query | No | Free-text address, city or ZIP to search near. Alternative to latitude/longitude. | |
| offset | No | Optional. Opaque pagination cursor from a previous response's next_offset. | |
| features | No | Optional, comma-separated. Restricts results to stores with ALL listed features. Allowed values: HAS_BREAKFAST, IS_REMOTEORDER_ACCEPTED, HAS_HALAL, HAS_DRIVETHROUGH, HAS_CATERING, HAS_CURBSIDE, IS_OPERATING. | |
| latitude | No | Search center latitude. Set together with longitude, or set query instead -- exactly one search mode. | |
| store_id | No | Look up one store directly by its store_id (from /subway/store or a prior /subway/nearby result). Alternative to latitude/longitude and query -- exactly one search mode. | |
| longitude | No | Search center longitude. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| data | Yes | The tool result payload (shape varies per tool; see each tool's docs resource). |