browser_get_page_content
browser_get_page_contentExtract readable text from a browser tab, plus optional HTML, image, and iframe metadata. Target a specific frame when app shells hide real content inside an iframe.
Instructions
Extract readable page text, and optionally HTML, image, and iframe metadata. Covers the top document unless frame_id targets a frame; app shells keep their real content inside an iframe, so check browser_get_frames when the text looks like navigation only.
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": {
"tab_id": "<tab_id>"
},
"name": "browser_get_page_content"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| tab_id | Yes | Chrome tab ID. | |
| frame_id | No | Chrome frame ID inside the tab from browser_get_frames. 0 is the top document, which is the default. | |
| session_id | No | Session that owns the tab. Pass it on every call so the runtime can refuse a tab another session holds. | |
| include_html | No | ||
| session_name | No | Name for this conversation's Chrome tab group, so the tab bar reads as the task instead of a generated id. Sticky: pass it once when the name becomes clear, and again only to rename. | |
| include_frames | No | ||
| include_images | No | ||
| max_text_length | No |