adb_device_status
Inspect Android root and SELinux status, including su/Magisk checks, and optionally toggle SELinux enforcing/permissive mode.
Instructions
Check Android device root & SELinux status, and optionally toggle SELinux mode.
Args: selinux_action: Optional - "disable" (Permissive / setenforce 0) or "enable" (Enforcing / setenforce 1). Leave empty to inspect only.
Returns: JSON report with root status, su/Magisk checks, and SELinux state
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": "adb_device_status"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| selinux_action | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |