read_text
Extract visible text from the current browser page or a specific element using a CSS selector; returns null when no element matches.
Instructions
Return the visible text of the current page, or of the first element
matching selector. null when no element matches.
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": "read_text"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| selector | No | CSS selector of one element; empty for the whole page. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |