device_job
Manage background Android device processes: start, list, monitor output/status, cancel, and clean up logcat, instrumentation, perfetto, or tcpdump jobs with persistent handles and bounded output.
Instructions
Background device processes: list/start/status/output/cancel/cleanup. Use for logcat, instrumentation, perfetto, tcpdump if installed. Persistent handles, bounded stdout/stderr, incremental byte offsets and PID-reuse checks. timeout=0 explicitly allows indefinite work.
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": "device_job"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| root | No | ||
| label | No | ||
| limit | No | ||
| action | No | list | |
| job_id | No | ||
| offset | No | ||
| stream | No | stdout | |
| command | No | ||
| timeout | No | ||
| encoding | No | utf-8 | |
| max_output_mb | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||