haggl_claim_inquiry_cashback
After the business's inquiry form is sent with the code in its message, and only with the user's approval to share their email: registers the user for the discount. haggl.ai uses the email only for this.
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": "<code>",
"email": "<email>"
},
"name": "haggl_claim_inquiry_cashback"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| code | Yes | The code haggl_inquiry_cashback gave, as put in the inquiry form. | |
| Yes | The email the discount goes back to, shared with the user's approval. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| code | No | The code registered; when the call failed, a machine-readable error code instead. | |
| error | No | Present only when the call failed: what went wrong. | |
| message | No | What happens next: tell the user. | |
| recorded | No | Whether the registration was recorded. | |
| recovery | No | When the outcome is uncertain: the tool and session_id to read before retrying. | |
| retryable | No | Whether the same call may be retried. | |
| retry_after_seconds | No | When rate limited: seconds to wait before retrying. |