grabmart_products
Browse a city's GrabMart product sitemap by shard and page to retrieve item IDs, merchant IDs, and published product URLs for catalog research.
Instructions
Browse a city's GrabMart product sitemap. Returns one page of one item sitemap chunk for a city. A city publishes its items as items-1.xml .. items-N.xml; Singapore has 70 chunks of 80,000 entries each. The shard parameter is validated against the count the city actually publishes (see total_shards), so an out-of-range shard is rejected before any fetch. Each entry carries the item_id and the owning merchant_id, plus the published product URL.
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 | City slug from GET /grabmart/cities | |
| page | No | 1-based page within the chunk, 1-100000, default 1 | |
| shard | No | 1-based item sitemap chunk, validated against the city's published chunk count, default 1 | |
| country | Yes | GrabMart market code from GET /grabmart/locales | |
| page_size | No | Entries per page, 1-500, default 100 |