Get an unsigned x402 quote
get_payment_quoteReturns the existing HTTP 402 body and PAYMENT-REQUIRED header without a signature or charge. A paid/pending run returns its original state.
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": {
"runId": "<runId>",
"clientToken": "<clientToken>"
},
"name": "get_payment_quote"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| runId | Yes | ||
| clientToken | Yes | Private run capability: generate and save 32 random bytes before creating a run. Never put it in a URL or public trace. |