grabmart_cities
List the city slugs and sitemap URLs GrabMart publishes for a supported market, so you can validate the city parameter used by shops and products routes before making requests.
Instructions
List the cities GrabMart publishes for one market. Returns the city slugs GrabMart's own sitemaps publish for a market, each with its city sitemap URL. The slug is the city parameter of the shops and products routes; a city not listed here is rejected before any upstream request. Singapore publishes one city (singapore), Indonesia 197, Thailand 85, the Philippines 64, Malaysia 27; Vietnam and Myanmar publish city shards instead of city files and are recognised from the country index. Cambodia currently publishes no city sitemap and answers 404.
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>"
},
"name": "grabmart_cities"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| country | Yes | GrabMart market code from GET /grabmart/locales, e.g. sg, my, id, th, ph, vn, kh or mm |