system_get_active_window
Reads the frontmost focused window title and geometry through macOS Accessibility, enabling agents to identify the active window and its on-screen position.
Instructions
Read frontmost focused window title and geometry via Accessibility. [v1.0.0; permissions: accessibility]
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": "system_get_active_window"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| data | Yes | ||
| tool | Yes | tool name | |
| error | Yes | ||
| status | Yes | ||
| version | Yes | semantic version |