close_window
Dismiss a simulator-owned dialog using its window handle; refuses to close the main simulator window.
Instructions
Close a simulator-owned dialog by hwnd. Refuses to close the main simulator window.
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": {
"hwnd": "<hwnd>"
},
"name": "close_window"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| hwnd | Yes | Window handle from list_windows |