text
Extract an element's innerText from a web page by selector, snapshot ref, or tab, with optional truncation to a maximum character count.
Instructions
innerText of an element, truncated to max characters.
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": "text"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| max | No | ||
| ref | No | ref from snapshot, e.g. e3 | |
| tab | No | tab id, defaults to current | |
| selector | No | CSS selector | |
| request_timeout | No | Outer page request deadline in milliseconds; defaults to at least 30000 |