Page or PDF summary
get_summarizeUse when an agent needs the gist of a web page or PDF. Returns a short or medium summary with key points, and says whether the document was cut at 20,000 tokens and how much was read. Uses only what the document says. Costs 0.02 USDC per call (x402, USDC on Solana, Base, Polygon, Arbitrum or Arc).
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": "get_summarize"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | Yes | the page or PDF: an absolute http or https URL | |
| length | No | short (default, about 60 words) or medium (about 150) |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| data | Yes | the get_summarize payload; a real captured example is free at https://x402.ochinimus.app/api/sample/get_summarize | |
| tool | Yes | the tool that produced this payload |