Open or close a sidebar
browser_set_sidebarOpen, close, or toggle a Firefox sidebar by ID to control sidebar visibility during browser automation; retrieve IDs with the sidebar listing tool.
Instructions
Open a sidebar by id, close the current one, or toggle it. Get ids from browser_list_sidebars. MEASURED entry point: window.SidebarController.show(id) / hide() / toggle(id). Action: open (needs id), close, toggle (needs id).
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": {
"action": "<action>"
},
"name": "browser_set_sidebar"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | No | Sidebar id (required for open/toggle) | |
| action | Yes | What to do |