simulator_screenshot_3d
The MCP tool that draws a foldable Simulator on its 3D model, at its hinge angle, as an image.
simulator_screenshot_3d returns a picture of the running Simulator’s 3D model, folded to its current hinge angle, with its lit screen showing what is on it now. Only foldables (iPhone Duo) have a model; on other devices use simulator_screenshot. It is read-only. Move the hinge with simulator_fold.
| Read-only | Destructive | Idempotent |
|---|---|---|
| Yes | No | Yes |
Inputs
| Input | Type | Required | Default | What it does |
|---|---|---|---|---|
teamId |
string (UUID) | Yes | — | The Team, from list_teams |
simulator |
string | No | The Team’s default device | Which device, by id from list_simulators |
rotation |
string | No | Facing the camera | The model’s rotation as X,Y,Z degrees, e.g. 20,-30,0 |
size |
string | No | 1024x1024 |
The picture’s size as WIDTHxHEIGHT pixels, each 1 to 8192 |
background |
string | No | transparent |
transparent or a color as #RRGGBB |
Result
This tool returns an image. content holds two blocks: an image block (PNG, base64) and a text block with the JSON below, which is also the structuredContent.
| Field | What |
|---|---|
simulator |
The device’s id |
foldable |
true for a foldable |
hingeDegrees |
The hinge angle, 0 (closed) to 180 (open flat); null when unknown or exactly 0 |
litPanel |
Which display is lit: primary (the cover display) or secondary (the inner one); null when unknown |
{ "simulator": "duo-example", "foldable": true, "hingeDegrees": 130, "litPanel": "secondary" }Errors
| Message | When | What to do |
|---|---|---|
| rotation must be X,Y,Z degrees | rotation is not three numbers separated by commas |
Send e.g. 20,-30,0 |
| size must be WIDTHxHEIGHT, each 1..8192 | size is malformed or out of range |
Send e.g. 1024x1024 |
| background must be transparent or #RRGGBB | Another background |
Send transparent or #RRGGBB |
Plus the errors every Simulator tool can return: see start_simulator. On a device without a 3D model the Simulator refuses in its own words.
Example
{"name": "simulator_screenshot_3d", "arguments": {"teamId": "00000000-0000-0000-0000-000000000000", "simulator": "duo-example", "rotation": "20,-30,0"}}