pt_get_screen_size
Get the screen dimensions (width and height) of an iOS simulator in pixels to adapt UI layouts or capture screenshots.
Instructions
Get the screen dimensions (width and height in pixels) of the simulator.
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_get_screen_size"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| udid | No | Simulator UDID (uses active device if not specified) |