Device info
qa_device_infoRetrieve read-only Android emulator or iOS simulator details, such as model, SDK, locale, screen orientation, packages, and filtered logs, to diagnose app behavior during QA.
Instructions
Read-only device info. Android: model, SDK, ABIs, locale, screen, orientation (listPackages:true adds third-party packages; logs:{…} captures filtered logcat). iOS Simulator: name, runtime, state, screen.
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": {
"sessionId": "<sessionId>"
},
"name": "qa_device_info"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| logs | No | Android: save logcat to an artifact instead. Scans the last `lines` (1000) lines overall; level is the minimum; package also matches a crashed app (its `Process:` PID); grep is a regex, context = lines kept after each match (40 shows a FATAL stack; or use buffer:"crash"); since = "5m" / "90s" / "MM-DD hh:mm:ss". | |
| sessionId | Yes | ||
| listPackages | No | Include installed third-party package names. | |
| packageFilter | No | Substring filter for the package list. |