starbucks_nearest_store
Locate the single closest Starbucks store to a coordinate. Both lat and lng are required. Returns the nearest store's coordinates and distance only, not its details -- this is what Starbucks' own locator uses to centre its map. Use starbucks_stores for full store records. market selects which Starbucks country site answers, one of us or ca (default us). A point with no nearby store returns a well-formed result with found false rather than an error.
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": {
"lat": "<lat>",
"lng": "<lng>"
},
"name": "starbucks_nearest_store"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| lat | Yes | Latitude | |
| lng | Yes | Longitude | |
| market | No | Starbucks country site to read. One of: us, ca. Defaults to us. Documented values: us, ca. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| data | Yes | The tool result payload (shape varies per tool; see each tool's docs resource). |