iphone_start_agent
Starts WebDriverAgent on a connected iPhone and establishes the required connection for other iPhone actions; call it when no connection is reported or before using iPhone tools.
Instructions
Start WebDriverAgent on the iPhone and connect to it – required before any other iphone_* action.
Call it when iphone_status or another tool reports no connection. It is safe to call again: if the
agent already runs it just reports the connection. Starting takes 10–90 s, works over cable or Wi-Fi
and needs the iPhone unlocked; if it is locked, the result says so and the user must unlock it.
Returns the connection route on success or a concrete reason on failure.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": "iphone_start_agent"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |