x402ai ask
askSubmit a question up to 3,000 characters and receive a short answer through a paid x402 endpoint; each call costs $0.04 USDC on Base and is subject to spend caps.
Instructions
Ask a question and get an answer. Costs $0.04 (USDC on Base) per call; takes 5-16 s. Spends real money; subject to a per-payment and per-session cap. Pass the question in input (max 3000 chars).
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": {
"input": "<input>"
},
"name": "ask"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| input | Yes | The text to process, passed as "input": the text to embed or summarize, or for ask, the question. 1-3000 characters. |