browser_read_text
Extract clean, visible text from any webpage element by removing HTML markup. Specify a CSS selector to target specific content, or get the whole page's text quickly.
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 |
|---|---|---|---|
| selector | No | body | |
| max_chars | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |