close_page
Closes a Chrome page by ID, restricting closure to MCP-opened tabs unless force is true.
Instructions
Closes a page by its ID. Only tabs opened by this MCP can be closed unless force is true.
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 |
|---|---|---|---|
| force | No | Allow closing a tab the user opened. | |
| pageId | Yes |