browser_get_text
Extract visible text from a full page body or a specific CSS-selected element using a browser session ID, so you can read rendered content without parsing HTML.
Instructions
Get the visible text content of an element or the entire page body.
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": {
"session_id": "<session_id>"
},
"name": "browser_get_text"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| selector | No | CSS selector of the element (omit for full page body text) | |
| session_id | Yes | Session ID returned by browser_navigate |