Pangaea Facets
pangaea_facetsAggregate matching datasets by a facet, top values of a category field (e.g. "agg-mainTopic", "agg-author", "agg-method", "agg-location", "agg-campaign") with counts. Optionally scoped to a full-text query.
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": {
"field": "source"
},
"name": "pangaea_facets"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| size | No | Top-N buckets (default 25). | |
| field | Yes | A keyword facet field, e.g. "agg-mainTopic", "agg-author". | |
| query | No | Optional full-text scope for the aggregation. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| hits | No | ||
| took | No | ||
| _shards | No | ||
| timed_out | No | ||
| aggregations | No | Aggregation results |