Search products
search_productsSearch Toys Hub's catalogue by words, category, age and price. Returns name, price, availability, photo, product page and a buy-now link for each match.
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_products"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| age | No | Child's age in years; returns products suitable for that age. | |
| lang | No | Language of names, descriptions and links: "sq" Albanian, "en" English. | en |
| limit | No | How many products to return, 1 to 50. | |
| query | No | Words to look for in names and descriptions (Albanian or English). Empty lists popular products. | |
| category | No | Category slug from list_categories. | |
| max_price | No | Highest price, in the store currency. | |
| in_stock_only | No | true: only products that can be bought now (in stock). |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| products | Yes | ||
| resultCount | Yes |