screenshot
Capture a PNG screenshot of the current screen to verify app state or use as a vision fallback when elements are not exposed in the accessibility tree.
Instructions
Capture a PNG screenshot of the current screen. Use as the vision fallback when an element is not exposed in the accessibility tree, or to verify state.
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": "screenshot"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| udid | No | Target simulator UDID. Defaults to the booted sim. |