start_device_log_cap
Capture logs from Apple devices by launching an app with console output. Requires device UDID and app bundle ID. Returns a session ID for log monitoring.
Instructions
Starts capturing logs from a specified Apple device (iPhone, iPad, Apple Watch, Apple TV, Apple Vision Pro) by launching the app with console output. Returns a session ID.
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": {
"deviceId": "<deviceId>",
"bundleId": "<bundleId>"
},
"name": "start_device_log_cap"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| bundleId | Yes | Bundle identifier of the app to launch and capture logs for. | |
| deviceId | Yes | UDID of the device (obtained from list_devices) |