wais_confirm
Confirms a high-risk action or completes a payment challenge after user approval, automatically polling for completion when required.
Instructions
Confirm a high-risk action or complete a payment challenge.
Call after wais_execute returned a 402 confirmation challenge and the user has approved. If there was a payment link, the user must complete payment first. Polls for completion automatically if the challenge included a resolution object.
Args: site_url: The site.url from agents.json. challenge_id: The challenge_id from the 402 response.
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": {
"site_url": "<site_url>",
"challenge_id": "<challenge_id>"
},
"name": "wais_confirm"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| site_url | Yes | ||
| challenge_id | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |