Close a window (self-guarded)
window_closeClose a window by address or match, or the focused window if none given. Prevents closing the agent's own terminal; check window_list first for targeting.
Instructions
Close a window by explicit address/match, or the currently focused window if omitted. REFUSES to close this agent's own host terminal either way. Check window_list/desktop_status to pick a target first.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "window_close"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| match | No | ||
| address | No |