scan_origin
Start or recover an asynchronous x402 conformance scan. For new origin-only calls, this MCP tool defaults to quote_mode fast and returns an unsigned 402 quote without starting a scan. Capability-only recovery requires the original input or proof; use get_scan_status for capability polling. Resend the same arguments with payment_signature only after independent payment authorization. Supplying idempotency_key without quote_mode retains compute-first admission. Save the job/capability and poll. Never signs payments.
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": {
"origin": "<origin>"
},
"name": "scan_origin"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| paths | No | ||
| origin | Yes | Public HTTP(S) origin only; no credentials, path, query or fragment. Use paths for same-origin paths. | |
| quote_mode | No | ||
| idempotency_key | No | Required for compute-first mode. Omit both this and quote_mode for the MCP tool's unsigned fast quote. Retain any supplied key for retries. | |
| payment_signature | No | ||
| recovery_capability | No |