get_current_page_text
Extracts text content from the current web page using CSS selectors, with options for visible text, hidden elements, and different text extraction methods.
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": "get_current_page_text"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| selector | No | CSS选择器,用于选择特定元素的文本(可选) | |
| includeHidden | No | 是否包含隐藏元素的文本,默认false | |
| textType | No | 文本提取类型,默认'visible' |