Android processes
android_processesList running Android processes with PID and name. Filter by case-insensitive substring to confirm an app is active.
Instructions
List the processes running on a device (ps -A): pid and process name. App processes are named after their package (or <package>:<process> for a declared sub-process), so this is how you confirm an app is actually running and find the pid other tools want. Filter with a case-insensitive substring. A failed listing throws with the reason rather than returning an empty list.
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": "android_processes"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| device | No | Target adb serial. Defaults to the streamed device, else the only online one. | |
| filter | No | Case-insensitive substring matched against the process name, e.g. "com.example" or "systemui". Omit to list everything (a device runs several hundred processes). |