get_page_text
Extract text content from web pages using CSS selectors. This tool helps retrieve specific text elements for data collection or analysis during browser automation.
Instructions
Extract text content from the page
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_page_text"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| pageId | No | Page ID (uses active page if not specified) | |
| selector | No | CSS selector (defaults to body) |