Purchase any quote (answer or action)
purchase_quoteThe single purchase path: pays for a quote from EITHER quote_real_world_answer or quote_real_world_action and starts the job. There is no separate action-purchase tool. Returns job_id and job_token (keep it; it is shown once), then poll get_verification_status and read get_verification_result. If this server has no payment capability, returns the x402 payment requirements (HTTP 402 body) so you can pay with your own payment tool and retry the POST /v1/jobs request with a PAYMENT-SIGNATURE header.
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": {
"quote_id": "<quote_id>"
},
"name": "purchase_quote"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| quote_id | Yes | ||
| idempotency_key | No | Client-generated UUID; reuse it when retrying |