get_text
Retrieve the visible text content of a web page element or the entire document using a CSS selector or element reference.
Instructions
Return innerText of element (by selector or ref) or whole document.
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": "get_text"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| selector | No | ||
| ref | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |