nearest_features
Find the n nearest cities or airports to a latitude/longitude coordinate to answer nearest-place questions; geocode the location first.
Instructions
The n nearest places to a point. kind can be "city" or "airport".
Use for "closest" or "nearest" questions. Get the point from geocode first.
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>",
"lon": "<lon>"
},
"name": "nearest_features"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| n | No | ||
| lat | Yes | ||
| lon | Yes | ||
| kind | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |