Full page extraction
page_extractMarkdown, metadata, links and headings for a URL or HTML in one call. Use include to choose parts.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "page_extract"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | No | Public http(s) URL to fetch (robots.txt is honored). Optional if html is given; then used as base URL. | |
| html | No | Raw HTML to process instead of fetching (max 3 MB). | |
| include | No | Comma list or array of parts to return: metadata, markdown, text, links, images, headings. Default: metadata,markdown,links,headings | |
| maxChars | No | Cap on markdown/text length (1,000-500,000). | |
| mainContentOnly | No | Strip nav, header, footer, sidebars, cookie banners and ads; keep the main article. |