containers_remove
Removes a Firefox container and its stored site data using a profile and cookie store ID. Close the container's open tabs first, or the request fails with CONTAINER_IN_USE.
Instructions
Remove a named Firefox container and its stored site data. Refuses open tabs with CONTAINER_IN_USE and tab_ids. Close tabs explicitly first. The check cannot exclude races with browser UI. No automatic cleanup.
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>",
"cookie_store_id": "<cookie_store_id>"
},
"name": "containers_remove"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| profile_id | Yes | ||
| cookie_store_id | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |