Build Screenshot
build_screenshotCapture a PNG screenshot of a booted iOS simulator and save it to a specified path for quick ad-hoc checks.
Instructions
Capture a PNG screenshot of the booted simulator to out_path.
Use when: an ad-hoc check. For localized store screenshots use screenshot_capture / screenshot_build_all. Returns: {ok, exit_code, stdout, stderr, path}.
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": {
"udid": "<udid>",
"out_path": "<out_path>"
},
"name": "build_screenshot"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| udid | Yes | Simulator UDID from build_list_simulators, e.g. 'A1B2C3D4-...'. | |
| out_path | Yes | Output file path (PNG). |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||