desktop_close_tab
Close the currently active browser tab, then return screenshot + elements.
This sends the normal human browser shortcut Ctrl+W to the desktop VM. Use it after extracting what you need from a page, unless that tab has an unsaved form, draft, active download, authentication flow, or pending user approval.
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": {
"vm_name": "<vm_name>"
},
"name": "desktop_close_tab"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| api_key | No | MCP API key | |
| vm_name | Yes | VM to drive. For a graph launch use its returned of-deploy-* vm_name. For image verification use the of-test-* vm_name returned by resume_test_environment or vms[].vm_name / environment.snapshot.vm_name from get_test_results. For app testing use your own of-desktop-* or of-tester-* VM. | |
| include_perf | No | Include per-stage timing metrics in the response. | |
| response_mode | No | Response detail: full (inline frame + URL + UI elements), screenshot (inline frame + URL, skip OmniParser), none (no capture; blind action only). | full |
| session_token | No | Session token | |
| screenshot_delay | No | Seconds to wait after closing the active browser tab before taking a screenshot. |