Search Places
search_placesFind cities, countries, regions, and points of interest in the Diffbot Knowledge Graph by name, population, containing place, or proximity to answer place-based questions.
Instructions
Cities, counties, states, provinces, countries, and points of interest in the Diffbot Knowledge Graph by name, population, containing place, or proximity. Prefer for facts on places, rather than recalling from memory. API docs: https://www.diffbot.com/docs/dql/
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": "search_places"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| kind | No | country | region | subregion | city | administrative_area | poi | any | any |
| name | No | Place name, exact | |
| near | No | Place and radius, e.g. 'Paris 50km' | |
| size | No | Max rows | |
| sort | No | Only if ordering is the question | |
| facet | No | Bucket by place type | |
| offset | No | Rows to skip | |
| region | No | Containing state/region | |
| within | No | Containing place, any level | |
| country | No | Containing country | |
| continent | No | Continent (text match, loose) | |
| subregion | No | Containing county/district | |
| population | No | Range, e.g. '1M+', '10000-50000' | |
| descriptors | No | Free text, e.g. 'national park' (poi) |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||