Retrieve Compact Context
retrieve_contextRetrieve compact, citation-verifiable context from public HTML. Costs $0.005 USDC via 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": {
"url": "<url>"
},
"name": "retrieve_context"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | Yes | Public HTTP or HTTPS page to retrieve. | |
| question | No | Task or question used to rank relevant passages. | |
| max_tokens | No | ||
| max_price_usd | No | ||
| freshness_seconds | No |