提取文本
browser_extractExtracts readable plain text from the active browser page or a specific element by ref, letting AI agents capture content without interactive elements.
Instructions
Extract readable text from the page (or a specific element by ref) as plain text. Better than snapshot when you only need content, not interactive elements.
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": "browser_extract"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ref | No | Extract text of this element only (default: whole page) | |
| tabId | No | Tab id (default: active tab) |