close_page
Closes an open browser page by its index. Use it to free up tabs while keeping the last open page intact.
Instructions
Closes the page by its index. The last open page cannot be closed.
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": {
"pageId": "<pageId>"
},
"name": "close_page"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| pageId | Yes | The ID of the page to close. Call list_pages to list pages. |