stop_driver
Stops the XCUITest driver on an iOS device to free resources or reset driver state; succeeds even if no driver is running.
Instructions
Stop the XCUITest driver on the device. Rarely needed: it stops when the server exits, and the next tool that needs it starts it again. Succeeds even if no driver is running.
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": "stop_driver"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| device | No | Device UDID or name substring. Defaults to the select_device choice, then IOS_DEVICE_MCP_DEVICE, else the single USB-connected device. |