Get directions to a chip shop
get_directionsGet map links (Google Maps and Apple Maps) for getting to one chip shop found by find_fish_and_chips, walking, cycling, driving or by public transport. Use fromCurrentLocation when the user is setting off now; use fromGivenLocation when they're planning a trip from somewhere else.
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": {
"id": "<id>"
},
"name": "get_directions"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | The shop's id, or its chippynear.me link, from find_fish_and_chips. | |
| lat | No | Latitude to start from, e.g. 54.486, when the user is starting somewhere else. Supply together with lng. | |
| lng | No | Longitude to start from, e.g. -0.615. Supply together with lat. | |
| mode | No | Only this way of travelling: walking, cycling, driving or transit. Leave out for all. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | ||
| link | Yes | The shop's page on chippynear.me. | |
| name | Yes | ||
| note | Yes | Plain-language caveat to mention to the user when Verified is false. | |
| address | Yes | ||
| distance | Yes | Straight-line distance from the given start point, when one was given. | |
| verified | Yes | False when the shop is pending review or has no visitor reports yet. | |
| directions | Yes | Map links to the shop; null when it is permanently closed. | |
| permanentlyClosed | Yes | True when the shop has shut down for good; it then has no directions. |