Place & time
get_contextWhere a place is and what time it is there. location 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: {"location": "Pella, IA"} -> Pella, America/Chicago.
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 location. | |
| lon | No | Longitude (-180 to 180), with lat. | |
| fuzzy | No | Text only: autosuggest for partial or misspelled input. Default false. | |
| limit | No | Text only: how many candidates (1-10). Default 5. | |
| include | No | boundaries: each row's state, county and zone ids for get_data's area. | |
| location | No | Place name, ZIP, venue/address or "lat,lon" (1-200 characters); not with lat/lon. | |
| near_lat | No | Text 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 | ||
| area | No | The state `location` names: pass as `area` to get_data or render. | |
| time | Yes | ||
| query | No | ||
| partial | No | Sections that did not finish, e.g. {"poi": "timeout"}; the list may be incomplete. | |
| area_name | No | The `area` state's name. | |
| candidates | Yes |