readfetch_section
Extract a single heading or CSS selector from a public page instead of the full document, returning matched Markdown or text, metadata, and available headings when no match is found.
Instructions
Extract one heading or one CSS selector from a public page instead of the whole document. Returns matched Markdown or text, title, chars, content_sha256, and billed. If the heading is missing, returns HTTP 200 with empty text and available_headings so you can retry. mode: fast (plain HTTP) or render (default, Chromium when the page blocks HTTP). max_chars truncates output (default 8000, max 20000). Prefer readfetch_text for full articles; readfetch_scrape when content needs JavaScript.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | Yes | Public page URL to extract from. | |
| mode | No | fast = HTTP-first; render = one browser pass when plain HTTP fails (default). | render |
| format | No | Output flavour for the matched section (markdown default). | markdown |
| heading | No | Case-insensitive, whitespace-normalised. | |
| selector | No | CSS selector; up to 20 matches concatenated. | |
| max_chars | No | Truncate matched text after this many characters. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | No | ||
| hint | No | ||
| text | No | ||
| chars | No | ||
| title | No | ||
| billed | No | ||
| status | No | ||
| matched | No | ||
| status_code | No | ||
| used_browser | No | ||
| content_sha256 | No | ||
| available_headings | No |