browser_read_text
Extract the visible text of a page or element with all markup removed; narrow the selector to target known content and read text inside iframes by frame.
Instructions
The visible text of an element, with the markup gone, whole.
The cheapest way to read a page. Narrow the selector when you know where the answer is; use browser_read_html instead when the structure matters, or browser_snapshot when you need something to click.
Text inside iframes follows the page's, each frame under a line naming it (one that cannot be read is named too). frame reads inside that one.
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": "browser_read_text"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| frame | No | ||
| browser | No | Defaults to `main`; `support` is the helper beside it. | |
| selector | No | body |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |