debug_app
Launch an app in debug mode on a specific device and capture logs to a file. Use the log file path to inspect with tools like Read or Grep.
Instructions
Launch an app in debug mode and write logs to a file. Returns the log file path — use Read/Grep to inspect logs. Use kill_app to stop.
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": {
"device_id": "<device_id>",
"bundle_id": "<bundle_id>"
},
"name": "debug_app"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| device_id | Yes | Device ID | |
| bundle_id | Yes | Bundle ID of the app to debug | |
| log_path | No | Directory for log file (supports ~/). Defaults to OS temp directory. |