node_console_send
Send a command to a GNS3 node's console and retrieve the output after the device is idle. Automates CLI interactions in network labs.
Instructions
Send a single command to a node's telnet console and return the output.
Reads until the console is idle for idle seconds (or max_wait total). Sends a
blank line first to capture the current prompt.
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": {
"node_id": "<node_id>",
"command": "<command>"
},
"name": "node_console_send"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| node_id | Yes | ||
| command | Yes | ||
| project_id | No | ||
| idle | No | ||
| max_wait | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |