get_state
Check an Android device's ADB connection state to see whether it is ready, offline, or unauthorized before running commands.
Instructions
Return the connection state of a device: device / offline / unauthorized.
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": "get_state"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| serial | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||