close_window
Send the standard close signal to a window identified by address or selector, equivalent to clicking its close button.
Instructions
Close a window by address or selector. Sends the same signal as clicking the close button (not force-kill).
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": {
"target": "<target>"
},
"name": "close_window"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| target | Yes | Window address ('0x...') or selector ('class:^(kitty)$') |