xcode_take_screenshot
Capture simulator screenshots for mobile app testing by specifying device UDID and save location.
Instructions
Take a screenshot of a simulator
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>",
"outputPath": "<outputPath>"
},
"name": "xcode_take_screenshot"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| udid | Yes | The UDID of the simulator | |
| outputPath | Yes | Path where screenshot should be saved |