Get context
get_contextWhere a place is and what time it is there. query (a name, ZIP, venue or address) or lat+lon to ranked candidates with lat/lon, timezone and type place|zip|address|poi|county|station; time: utc and, per distinct zone among the candidates, its local time and a 14-day calendar (join on timezone). Sun and moon are get_data reads. Example: {"lat": 39.74, "lon": -104.99} -> Denver, America/Denver.
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": "get_context"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| lat | No | Latitude (-90 to 90), with lon; not with query. | |
| lon | No | Longitude (-180 to 180), with lat. | |
| fuzzy | No | Query only: autosuggest for partial or misspelled input. Default false. | |
| limit | No | Query only: how many candidates (1-10). Default 5. | |
| query | No | Place name, ZIP or venue/address (1-200 characters); not with lat/lon. | |
| include | No | boundaries: each row's state, county and zone ids for get_data's area. | |
| near_lat | No | Query only: rank near this point (-90 to 90); with near_lon. | |
| near_lon | No | Longitude of near_lat (-180 to 180). |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| lat | No | ||
| lon | No | ||
| time | Yes | ||
| query | No | ||
| partial | No | Sections that did not finish, e.g. {"poi": "timeout"}; the list may be incomplete. | |
| candidates | Yes |