tabs_close
Close a specific Firefox browser tab by ID within a given profile, removing its live page and any unsaved state. Identify the tab with tabs_list first; closed tabs cannot be restored.
Instructions
Close one browser tab, removing its live page and possibly unsaved state.
Use tabs_list to identify the tab first. Use tabs_switch to select a tab without closing it, or close_window to close an entire window. Closing the last tab may close its window. There is no FoxMCP tool to restore a closed tab; an invalid or already closed tab ID fails.
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>",
"tab_id": "<tab_id>"
},
"name": "tabs_close"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| tab_id | Yes | ID of the tab to close | |
| profile_id | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |