computer.close_window
Close an open application window gracefully with WM_CLOSE. Requires confirm=true; any modal confirmation dialog stays visible for the agent to handle.
Instructions
Close a window gracefully (WM_CLOSE). Requires confirm=true; modal confirmation dialogs remain visible for the agent to handle.
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": {
"window": "<window>"
},
"name": "computer.close_window"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| window | Yes | ||
| confirm | No |