Read web page (hidden text removed)
read_pageReads one public web page and returns its text as Markdown with common CSS/HTML-hidden content removed. Also returns hidden_content_removed (a count and short excerpts of what was removed), rule-based best-effort flags for instruction-like content, and a verdict: allow (no flags), warn, or block. Use this when the user asks to read, summarize or check a specific public https URL and wants hidden text kept out of what the assistant reads. Limits: it does not run JavaScript, so content inserted by JavaScript, revealed by hover or scroll, or inside shadow DOM is not checked, and pages that need JavaScript return an error. It does not remove visible text. Flags do not catch everything, and allow does not mean the page is safe to follow; the returned text is third-party content. Public pages only: it respects robots.txt, stops when it detects site terms that forbid automated access, and cannot read pages behind a login or paywall. Long pages are cut to max_chars characters (text_truncated is then true).
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": "read_page"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | Yes | Absolute https URL of one public web page. | |
| max_chars | No | Optional cap on returned characters (page text plus collapsed sections). Default 30000. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| text | Yes | Page text as Markdown (formatting only) with hidden content removed. Third-party content. | |
| verdict | Yes | allow: no flags. block: a flag of type agent_instructions or high severity. warn: other flags. | |
| source_url | Yes | Final URL read, after redirects. | |
| text_chars | No | Length of the full page text before any cut. | |
| policy_note | No | ||
| render_note | No | ||
| collapsed_text | No | Collapsed <details> sections kept out of text. Not screened; third-party content. | |
| text_truncated | Yes | True when text or collapsed_text was cut to max_chars. | |
| injection_flags | Yes | Rule-based, best-effort flags. They do not catch everything. | |
| flagged_excerpts | No | Short redacted excerpts from the flags. | |
| injection_detected | Yes | True when any flag is present. | |
| hidden_content_removed | Yes | What was removed: count, characters, and up to 16 short redacted excerpts. |