Get App State
get_app_stateCapture an accessibility-first snapshot of an app's UI state, optionally including a window screenshot, to provide AI agents with the context needed for precise computer control.
Instructions
Capture an accessibility-first application state and optionally its window image.
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": {
"app_ref": "<app_ref>"
},
"name": "get_app_state"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| detail | No | Returned element detail. | compact |
| app_ref | Yes | ||
| include_screenshot | No | Include a frame-bound window screenshot. |