window_info
Checks the active window's title and geometry and lists visible windows on an instance, providing an image-free way to confirm browser navigation or that an app opened.
Instructions
The active window's title + geometry and the list of visible windows on an instance — a cheap, image-free way to confirm navigation (browser titles follow the page) or that an app opened.
Returns {"ok", "instance", "active": {id, title, x, y, width, height, pid} | null, "windows": [{id, title}, …] (visible, capped at 50), "count"}. "active" is null when no window has focus yet (fresh instance) — that is reported, not an error. Fails (isError) if the instance is down.
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_info"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| instance | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |