Extract pages
extractRead up to 20 URLs (HTML or PDF) as clean Markdown. With query + highlights, return only the passages most relevant to the query; with summary, a short summary; with output_schema, structured JSON. 1 credit per URL read (+4 summary, +4 output_schema); failed URLs and failed AI steps are free.
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": {
"urls": "<urls>"
},
"name": "extract"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| urls | Yes | ||
| query | No | What to rank passages against (with highlights) | |
| prompt | No | Guides output_schema extraction (what to pick, how to normalise) | |
| country | No | Fetch the pages as seen from this country, e.g. de | |
| summary | No | Add a 3-6 sentence summary of each page (+4 credits per page) | |
| timeout | No | Seconds to wait for the pages; slower ones are reported as failed (not charged) | |
| highlights | No | Passages per page ranked against query (0 = full page) | |
| max_tokens | No | Cap per page | |
| output_schema | No | A JSON Schema: return each page's data as JSON matching it (+4 credits per page) |