ruyi_close_page
Close a browser tab by its index. Prevents closing the main tab (index 0) to keep the browser session intact.
Instructions
关闭指定标签页。不能关闭主标签页(pageIdx=0)。
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"pageIdx": "<pageIdx>"
},
"name": "ruyi_close_page"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| pageIdx | Yes | 要关闭的标签页索引 |