Search Api Facet List
search_api_facet_listList Search API facets with their facet_source_id, enabling you to match facets to an index. Use this to retrieve available facets for a facet source.
Instructions
List Search API facets.
index_id is no longer applied. A facet is attached to a facet
source, not to the index, and the only field it carries is
facet_source_id -- so filter[index] answered 400 "the field index
does not exist" on every call, and there is no field to filter on
instead. Each returned facet carries its facet_source_id, which is
what a caller needs to match facets to an index.
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_api_facet_list"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| index_id | No | ||
| page_limit | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||