grabmart_home
Fetch the GrabMart storefront home feed for a country and language, returning category tiles, ads, recommendations, merchant rails with store details, and feed paging state.
Instructions
Get the GrabMart home feed for a locale. Returns the home feed's rails in the order the storefront renders them: the category tiles, sponsored adverts, recommendation rails, the department rail, and the merchant rail with each store's address, halal flag, cuisines, opening hours, delivery fee, ETA, distance and promotional highlights. The payload also carries the app's own ordering market list and feature flags. has_more and next_offset are the feed's own paging state: the storefront server-renders page one and ignores its URL offset parameter, so this route serves page one and reports the state rather than claiming later pages. This page sits behind an intermittent CloudFront edge and can return a 503 when it cannot be fetched.
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>"
},
"name": "grabmart_home"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| lang | Yes | Storefront language from GET /grabmart/locales | |
| country | Yes | GrabMart market code from GET /grabmart/locales | |
| latitude | No | Delivery latitude. Optional; validated when supplied. Currently not applied: the page is resolved per country and locale, not per coordinate | |
| longitude | No | Delivery longitude. Optional; validated when supplied. Currently not applied: the page is resolved per country and locale, not per coordinate |