send_command
Send commands to Cisco devices over serial console, waiting for the prompt and handling --More-- pagination automatically.
Instructions
Send a command to a Cisco device and wait for the prompt. Handles -- More -- pagination automatically.
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": {
"path": "<path>",
"command": "<command>"
},
"name": "send_command"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | Serial port identifier/path (e.g. /dev/ttyUSB0 or COM3) | |
| command | Yes | Command to send (e.g. 'show version') | |
| timeout | No | Timeout in ms to wait for prompt (default: 10000) |