Opendatasoft Facets
opendatasoft_facetsRetrieve distinct values and counts for a named facet field within an Opendatasoft dataset; useful for enumerating categories or filtering options before querying records.
Example tool call
This call uses example arguments supplied in the tool’s input schema.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"facet": "cou_name_en",
"dataset_id": "geonames-all-cities-with-a-population-1000"
},
"name": "opendatasoft_facets"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| facet | Yes | ||
| instance | No | ||
| dataset_id | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| facets | No | Array of facet items |