Report whether a code worked
report_code_resultTell CouponLlama whether a code worked at checkout. The report joins the shopper vote tally, so the next person (or agent) knows which codes to trust. Call it once per code you tried.
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": {
"code_id": "<code_id>",
"worked": "<worked>"
},
"name": "report_code_result"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| worked | Yes | true if the store accepted the code, false if it was rejected. | |
| code_id | Yes | The id of the code, as returned by find_promo_codes. |