browser_extract
Extract text or attribute values from web pages using optional CSS selectors, returning the content for further processing.
Instructions
提取页面文字内容。
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 |
|---|---|---|---|
| selector | No | CSS 选择器,留空则提取整页可见文本 | |
| attribute | No | 提取属性值(如 'href'),配合 selector 使用 |