phone_screen_frame
Fetch a live or reusable PNG frame for the iphone-use app panel; returns clamped image dimensions plus status and error data so failed captures are reported, not fabricated.
Instructions
Internal frame transport for the iphone-use MCP Apps panel; models use phone_screenshot for a still image and phone_elements for text. Returns structuredContent with status, frame (mime_type=image/png and base64 data), ok and error. A private hold returns frame=null; an empty or failed capture is reported rather than invented pixels. max_side is clamped to 200–1000; fresh bypasses the reusable frame. The panel calls this with visibility app; do not poll it from model turns or use it for health checks.
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": "phone_screen_frame"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| fresh | No | Capture now instead of reusing the settled or live frame. | |
| instance | No | daemon instance name | |
| max_side | No | Longest side of the frame in pixels (200–1000, default 600). |