xcode_capture_screenshot
Capture screenshots from iOS/macOS simulators by specifying device ID and output path for testing and documentation purposes.
Instructions
Capture screenshot from 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": {
"device_id": "<device_id>",
"output_path": "<output_path>"
},
"name": "xcode_capture_screenshot"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| device_id | Yes | Simulator device ID | |
| output_path | Yes | Screenshot output path |