sim_screenshot
Capture a screenshot of a running iOS simulator and save it as a PNG file, returning the file path for easy retrieval.
Instructions
Take a screenshot of a simulator's screen. Saves as PNG. Returns the file path to the saved screenshot.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "sim_screenshot"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| device | No | Device UDID, name, or 'booted' | booted |
| label | No | Label for the screenshot file (e.g., 'home-screen') |