grabmart_category
Lists shops in one GrabMart collection for a delivery location, returning collection details, storefront addresses, halal flags, cuisines and image variants.
Instructions
List the shops in one GrabMart collection. Returns one Mart collection's storefront listing from Grab's anonymous portal API: the collection's own name, description and artwork, the upstream total count, and every store in the returned page with its address (including the combined address and city), halal flag, description, cuisines and all image variants. The upstream listing ignores its own offset and pageSize parameters (offset 0, 8 and 20 and pageSize 1 and 32 return identical bodies), so this route exposes no paging and reports truncated=true when the total exceeds the fixed first page it receives.
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>",
"lang": "<lang>",
"category_id": "<category_id>",
"latitude": "<latitude>",
"longitude": "<longitude>"
},
"name": "grabmart_category"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| lang | Yes | Storefront language from GET /grabmart/locales | |
| country | Yes | GrabMart market code from GET /grabmart/locales | |
| latitude | Yes | Delivery latitude the listing is resolved for, e.g. 1.2919174. Not 0,0 | |
| longitude | Yes | Delivery longitude the listing is resolved for, e.g. 103.7923597. Not 0,0 | |
| category_id | Yes | Collection id from GET /grabmart/categories, e.g. 6798 (Groceries). Department ids (SGITEDP...) are a different id space and answer not_found |