dumpsys
Retrieve raw Android service diagnostics by specifying a service name like battery, wifi, or activity, with capped output for analysis.
Instructions
Run dumpsys <service> for a NAMED service (e.g. 'battery', 'wifi',
'activity', 'meminfo', 'connectivity') and return the raw text (capped).
Scoped to a service name — not an arbitrary shell.
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": {
"service": "<service>"
},
"name": "dumpsys"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| args | No | ||
| serial | No | ||
| service | Yes | ||
| max_chars | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||