start_sim_log_cap
Capture structured logs from a simulator by specifying its UUID and app bundle ID. Optionally include console output by relaunching the app.
Instructions
Starts capturing logs from a specified simulator. Returns a session ID. By default, captures only structured logs.
Input Schema
Name | Required | Description | Default |
---|---|---|---|
bundleId | Yes | Bundle identifier of the app to capture logs for. | |
captureConsole | No | Whether to capture console output (requires app relaunch). | |
simulatorUuid | Yes | UUID of the simulator to capture logs from (obtained from list_simulators). |
Input Schema (JSON Schema)
{
"$schema": "http://json-schema.org/draft-07/schema#",
"additionalProperties": false,
"properties": {
"bundleId": {
"description": "Bundle identifier of the app to capture logs for.",
"type": "string"
},
"captureConsole": {
"default": false,
"description": "Whether to capture console output (requires app relaunch).",
"type": "boolean"
},
"simulatorUuid": {
"description": "UUID of the simulator to capture logs from (obtained from list_simulators).",
"type": "string"
}
},
"required": [
"simulatorUuid",
"bundleId"
],
"type": "object"
}