pt_screenshot
Capture a screenshot of the iOS simulator screen to view its current display, returned as a base64-encoded PNG image.
Instructions
Take a screenshot of the current simulator screen. Returns the image as base64-encoded PNG. Use this to see what's currently displayed on screen.
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": "pt_screenshot"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| udid | No | Simulator UDID (uses active device if not specified) |