close_window
Close a specified Firefox browser window by passing its window ID with the matching profile ID from profiles_list. Use it to dismiss or clean up windows in a connected browser session.
Instructions
Close a browser window
profile_id is required: obtain it from profiles_list. All object IDs are local to that profile; never reuse them in another profile.
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": {
"profile_id": "<profile_id>",
"window_id": "<window_id>"
},
"name": "close_window"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| window_id | Yes | The ID of the window to close | |
| profile_id | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |