Search H&M
hm_search_allSearch H&M's catalogue on one country site.
Products matching a query as hm.com’s search page renders them (36 a page): articleCode, title, pdpUrl, regular and red price, discount, swatches (colours), new and out-of-stock flags, with the total, pagination, facets (size, colour, fit…) and related searches. limit trims the page; filters are hm.com URL filter parameters (sizes=…&colorWithNames=…).
Cost: 3 credits per call, refunded automatically if the call fails. Read-only, public data only. Results include cost_credits and credits_remaining.
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": "hm_search_all"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| page | No | ||
| limit | No | ||
| query | Yes | Search words. | |
| filters | No | hm.com URL filter parameters, k=v&k=v. | |
| sort_by | No | ||
| language | No | H&M locale path (en_us default, en_gb, de_de, sv_se…). |