ask
askAsk a document: give a web page, PDF, Word, Excel or CSV URL (or raw text) and a question; get an answer backed by exact quotes from the document. Long documents are searched with embeddings first. Costs $0.02 USDC per call (x402).
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": {
"question": "<question>"
},
"name": "ask"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | No | Document or page URL | |
| text | No | Raw text instead of url | |
| question | Yes |