browser_read_text
Read the visible text of a page element with markup removed. Narrow the selector to target specific content, and long text is truncated at a set character limit with the cut clearly marked.
Instructions
The visible text of an element, with the markup gone.
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.
Long text is cut at max_chars (6000 by default) and the cut is marked in what comes back, so text that ends without that marker is the whole thing.
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 |
|---|---|---|---|
| browser | No | Defaults to `main`; `support` is the helper beside it. | |
| selector | No | body | |
| max_chars | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |