iPhone USB
iphone_usbSend touch and keyboard input to a paired iPhone over USB, capture PNG screenshots, launch installed apps, and verify each action using observation IDs.
Instructions
Control the enrolled, unlocked iPhone over paired USB. Observe returns native PNG pixels, image size and observationId. Tap/hold points:[[x,y]], swipe:[start,end], pinch:[start1,end1,start2,end2], all in returned image pixels. Mutations need a fresh UUID requestId; except launch, also supply latest observationId. Use type for printable ASCII in a visibly focused field, or paste for Unicode only when replacing the iPhone clipboard is intended. key sends a named key. Launch takes an installed bundle ID. Inspect the returned screen to verify the goal. Never repeat uncertain input; receipt reads the same requestId.
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": {
"action": "<action>"
},
"name": "iphone_usb"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| app | No | ||
| key | No | ||
| text | No | ||
| action | Yes | ||
| points | No | ||
| requestId | No | ||
| observationId | No |