iphone_stop_agent
Stops WebDriverAgent on the iPhone and closes the automation connection when a session ends, leaving apps and data untouched; other iphone tools stay unavailable until the agent is started again.
Instructions
Stop WebDriverAgent on the iPhone and close the connection.
Use it when the session is finished, so the automation port on the phone is no longer open. Afterwards
every other iphone_* tool fails until iphone_start_agent is called again. Leaves apps and data untouched.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_stop_agent"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |