adb_at_batch
Send multiple AT commands sequentially and capture all responses to run modem diagnostic sequences; requires root access and supports per-command timeout and delay.
Instructions
Send multiple AT commands sequentially and capture all responses. Useful for running a diagnostic sequence. Requires root.
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": {
"commands": "<commands>"
},
"name": "adb_at_batch"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| port | No | Modem device node (auto-detects if omitted) | |
| force | No | Bypass dangerous command safety checks | |
| device | No | Device serial | |
| delayMs | No | Delay between commands in ms (0-10000, default 500) | |
| timeout | No | Timeout per command in ms | |
| commands | Yes | Array of AT commands to send in order (max 50) |