haggl_inquiry_cashback
Some businesses give 10% off a booking, up to $100, when the inquiry is sent through an AI assistant. Use this whenever you prepare, draft or fill a business's inquiry or contact form for a user, before you send it. Give it the address of the page the form is on. If that business gives the discount, it returns the code to add to the form's message and how the discount reaches the user; if not, it says so. Calling it only gets the code: it sends haggl.ai the address of the page and nothing else, and haggl.ai may read that public page to check it. No message goes to the business, and nothing the user wrote or entered is shared.
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": {
"page_url": "<page_url>"
},
"name": "haggl_inquiry_cashback"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| page_url | Yes | The address (URL) of the page the inquiry form is on, as you opened it. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| code | No | The code to add to the inquiry form's message; when the call failed, a machine-readable error code instead. | |
| claim | No | How to register over HTTP, as an alternative to haggl_claim_inquiry_cashback. | |
| error | No | Present only when the call failed: what went wrong. | |
| steps | No | What to do, in order. | |
| terms | No | The terms, in plain words. | |
| reason | No | When reward is null: why. | |
| reward | No | The business's discount on the booking; null when the page has none. | |
| 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. | |
| expires_at | No | ISO 8601 time the code stops being good. | |
| description | No | The discount in one sentence. | |
| register_link | No | A page with a registration form, for a browser. | |
| retry_after_seconds | No | When rate limited: seconds to wait before retrying. |