Enable or disable an add-on
browser_set_addon_stateEnable or disable an installed Firefox extension by its add-on ID; use browser_list_addons to find the ID, then toggle the extension on or off.
Instructions
Turn an installed extension on or off by id (AddonManager, privileged context). MEASURED: BiDi itself has no webExtension.* commands, so the privileged route is the only one available. Disabling is reversible; get ids from browser_list_addons.
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": {
"id": "<id>",
"enabled": "<enabled>"
},
"name": "browser_set_addon_state"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | Add-on id, as reported by browser_list_addons | |
| enabled | Yes | true to enable, false to disable |