Find shops by name
em_shopsSearch Emalls shops by partial name and return matching shop IDs, enabling you to retrieve detailed shop profiles.
Instructions
Search Emalls' list of shops by name and return their ids.
Use it when the user names a shop, to get its id for em_shop.
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": "em_shops"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| page | No | 48 shops per page. | |
| query | Yes | Part of a shop name, e.g. دیجی. |