grabmart_category
List the shops GrabMart shows for one collection id at a latitude/longitude: names, cuisines, halal flag, images and sibling branches, with GrabMart's own total count. The listing is the first page only — it takes no paging parameters.
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 | Required. Storefront language from /grabmart/locales. | |
| country | Yes | Required. GrabMart market code from /grabmart/locales. | |
| latitude | Yes | Required. Delivery latitude, e.g. 1.2919174. The listing is resolved for this location. Not 0,0. | |
| longitude | Yes | Required. Delivery longitude, e.g. 103.7923597. Not 0,0. | |
| category_id | Yes | Required. Collection shortcut id from GET /grabmart/categories (e.g. 6798 Groceries, 23911 Electronics and IT). Department ids (SGITEDP...) are a different id space and answer not_found. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| data | Yes | The tool result payload (shape varies per tool; see each tool's docs resource). |