sim_screenshot
Capture a simulator screenshot and return it as an image, using base64 over SSH to avoid a separate file-transfer step.
Instructions
Capture a simulator screenshot and return it as an Image (parity with adb_screenshot).
Pipes through base64 over SSH so we don't need a separate scp step. Returns [Image, description] on success, or an error string on failure.
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": {
"host": "<host>",
"user": "<user>"
},
"name": "sim_screenshot"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| host | Yes | ||
| udid | No | booted | |
| user | Yes | ||
| key_path | No |