列出标签页
target_listLists attachable browser pages for inspection, hiding extension pages, service workers, and devtools by default; set includeBackground to true to include background targets.
Instructions
列出当前浏览器中可附加的页面。默认隐藏扩展页 / service worker / devtools 等后台目标(Edge、Chrome 装着扩展时这类目标往往有十几个),需要全量时把 includeBackground 设为 true。
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": "target_list"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| includeBackground | No | 是否包含扩展页、service worker、offscreen 文档等后台目标,默认 false |