x402-ask-api
Natural-language website query using one prepaid credit. Committed reports and pagination also require a Basic or Pro List pass.
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": {
"query": "<query>",
"payer": "<payer>",
"creditKey": "<creditKey>"
},
"name": "x402-ask-api"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| meta | No | ||
| payer | Yes | Base wallet address that will sign the x402 payment | |
| query | Yes | ||
| commit | No | ||
| creditKey | Yes | Reusable prepaid key returned by x402-credit-purchase | |
| passToken | No | Opaque token returned by x402-list-pass-purchase | |
| nextOffset | No |