Lista wartości filtra
list_facetsList available values for a chosen field—doc_type, product, or tags—with document counts, so you can pick valid filters for search_documents instead of guessing names.
Instructions
Zwraca dostępne wartości danego pola (doc_type, product albo tags) wraz z liczbą dokumentów — przydatne, żeby dowiedzieć się jakich filtrów można użyć w search_documents, zamiast zgadywać nazwę produktu czy tagu.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"field": "<field>"
},
"name": "list_facets"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| field | Yes | Pole, dla którego pobrać dostępne wartości |