close_window
Closes a target window as if its close button were clicked. Use it to dismiss app windows by ID, letting the application confirm before exit.
Instructions
Ask a window to close, as its close button would. The app may ask to confirm.
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_id": "<window_id>"
},
"name": "close_window"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| window_id | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |