Tool tree
GoGoCash shop-with-agent cashback. WebMCP demo for the OpenAI challenge. Fixture catalog only.
Implementation
gradeNot graded
gradeNot graded
search_offersAnswer
Search the live GoGoCash catalog and update the shopper's grid. Use for gift ideas, categories, or a max price in THB. Returns compact cashback rates, never Up to.
View tool JSON
{
"name": "search_offers",
"kind": "answer",
"impl": "imperative",
"description": "Search the live GoGoCash catalog and update the shopper's grid. Use for gift ideas, categories, or a max price in THB. Returns compact cashback rates, never Up to.",
"inputSchema": {
"type": "object",
"properties": {
"query": {
"type": "string",
"description": "Natural language, e.g. birthday gift"
},
"maxPriceTHB": {
"type": "number",
"description": "Keep gifts at or below this THB price"
},
"sort": {
"type": "string",
"enum": [
"highest_cashback",
"rate"
],
"description": "Ranking. Default highest_cashback uses estimated net."
}
},
"additionalProperties": false
},
"page": "/gogocash-webmcp/"
}filter_catalogAction
Filter the visible catalog grid in place using the same inputs as search_offers. Prefer this when the shopper is already looking at the grid.
View tool JSON
{
"name": "filter_catalog",
"kind": "act",
"impl": "imperative",
"description": "Filter the visible catalog grid in place using the same inputs as search_offers. Prefer this when the shopper is already looking at the grid.",
"inputSchema": {
"type": "object",
"properties": {
"query": {
"type": "string",
"description": "Filter text"
},
"maxPriceTHB": {
"type": "number",
"description": "Max gift price in THB"
},
"sort": {
"type": "string",
"enum": [
"highest_cashback",
"rate"
]
}
},
"additionalProperties": false
},
"page": "/gogocash-webmcp/"
}show_offerAction
Scroll and highlight one offer card on the current grid so the shopper can see it.
View tool JSON
{
"name": "show_offer",
"kind": "act",
"impl": "imperative",
"description": "Scroll and highlight one offer card on the current grid so the shopper can see it.",
"inputSchema": {
"type": "object",
"properties": {
"merchantId": {
"type": "string",
"description": "Catalog merchant id"
},
"merchantHint": {
"type": "string",
"description": "Brand name if id unknown"
}
},
"additionalProperties": false
},
"page": "/gogocash-webmcp/"
}match_merchantAction
Bind a confident merchant match and return detectionEventId plus mint ids. Refuse when the brand is ambiguous. Never guess.
View tool JSON
{
"name": "match_merchant",
"kind": "act",
"impl": "imperative",
"description": "Bind a confident merchant match and return detectionEventId plus mint ids. Refuse when the brand is ambiguous. Never guess.",
"inputSchema": {
"type": "object",
"properties": {
"merchantHint": {
"type": "string",
"description": "Brand name, e.g. Konvy"
},
"url": {
"type": "string",
"description": "Merchant URL if the agent found one"
}
},
"additionalProperties": false
},
"page": "/gogocash-webmcp/"
}