Screenshot Capture
screenshot_captureCapture a single raw screenshot from a booted simulator and save it to marketing/raw// for localized app store assets.
Instructions
Capture a raw screenshot from the booted simulator into marketing/raw//.png.
Use when: capturing a single screen manually. For the full localized set use screenshot_build_all. Returns: {ok, 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>",
"marketing_dir": "<marketing_dir>",
"locale": "<locale>",
"name": "<name>"
},
"name": "screenshot_capture"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | Screen name, used as the file name, e.g. 'paywall'. | |
| udid | Yes | Simulator UDID from build_list_simulators, e.g. 'A1B2C3D4-...'. | |
| locale | Yes | App locale of the capture, e.g. 'en-US'; used as the output subfolder. | |
| marketing_dir | Yes | Path to the app's marketing/ directory. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||