grabmart_products
List a page of one GrabMart city's product directory: returns each product's item id, merchant id and page URL from GrabMart's public sitemap, with the shard index validated against the shard count GrabMart publishes. Accepts page, page_size and shard; country and city are required.
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": {
"country": "<country>",
"city": "<city>"
},
"name": "grabmart_products"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| city | Yes | Required. City slug from /grabmart/cities. | |
| page | No | Optional. 1-based page within the chunk, 1-100000, default 1. | |
| shard | No | Optional. 1-based item sitemap chunk (items-N.xml). Validated against the count GrabMart publishes for this city; default 1. See total_shards in the response. | |
| country | Yes | Required. GrabMart market code from /grabmart/locales. | |
| page_size | No | Optional. Entries per page, 1-500, default 100. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| data | Yes | The tool result payload (shape varies per tool; see each tool's docs resource). |