adb_at_send
Send a single AT command to an Android modem and capture its response for diagnostics or configuration; specify the modem port or let it auto-detect. Requires root.
Instructions
Send a single AT command to the modem and capture the response. Requires root. Use adb_at_detect to find the correct port, or specify it manually.
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": {
"command": "<command>"
},
"name": "adb_at_send"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| port | No | Modem device node (e.g., '/dev/umts_router'). If omitted, auto-detects. | |
| force | No | Bypass dangerous command safety check | |
| device | No | Device serial | |
| command | Yes | AT command to send (e.g., 'AT+CSQ', 'ATI', 'AT+COPS?') | |
| timeout | No | Response timeout in ms (1000-30000, default 5000) |