Alza search suggestions
autocompleteFetch search-box suggestions—query phrases plus matching categories, brands, and products with IDs—to refine a Czech query before full product search.
Instructions
Cheap search-box suggestions (plain HTTP, no page render): suggested query phrases plus matching categories, brands and products with ids/codes. Use it to refine a messy Czech query before a full search_products — pass a category id as category_id, or a product code to get_product.
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": {
"query": "<query>"
},
"name": "autocomplete"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | Max entries per section (suggested phrases, categories, products, brands, articles). Default 5, max 10. | |
| query | Yes | Partial or full search text, e.g. "čistič kol" or "iphone". Czech diacritics are fine. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| query | Yes | ||
| brands | Yes | ||
| articles | Yes | ||
| products | Yes | ||
| categories | Yes | ||
| suggestions | Yes |