ios_test
Run a scheme's tests on an iPhone simulator on this Mac. Runs as a background job and returns its jobId; poll ios_build_status with it. The status lists failing tests.
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": {
"project": "<project>",
"scheme": "<scheme>"
},
"name": "ios_test"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| scheme | Yes | ||
| project | Yes | .xcodeproj or .xcworkspace path from ios_projects | |
| deviceId | No | Computer name or id from list_devices. Optional with one computer online or a default set. | |
| destination | No | xcodebuild -destination; default the newest available iPhone simulator | |
| configuration | No | ||
| workSessionId | No | Work session from create_work_session. Pass the same ID on every call in this conversation; omit for legacy unscoped work. |