ai_test
Installs, launches, and tests an APK on an emulator or device, runs UI scenario steps, captures screenshots, and collects logs.
Instructions
Device testing: devices/install/run/buildAndTest/screenshot/logs.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "ai_test"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| file | No | APK path (install/run/buildAndTest) | |
| steps | No | Scenario steps (run/buildAndTest) | |
| action | No | What to do | |
| device | No | adb serial, e.g. emulator-5554 | |
| launchWaitMs | No | Wait after launch, default 6000 | |
| timeoutSeconds | No | Compile timeout for buildAndTest |