node_console_session
Execute a sequence of CLI commands on a network node within one console connection. Ideal for entering config mode and applying multiple lines, returning each command's output.
Instructions
Run a sequence of commands on a node console in one connection.
Returns a list of {command, output} entries. Useful for entering config mode and applying several lines (e.g. ['enable', 'conf t', 'interface g0/0', 'ip address ...']).
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>",
"commands": "<commands>"
},
"name": "node_console_session"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| node_id | Yes | ||
| commands | Yes | ||
| project_id | No | ||
| idle | No | ||
| per_command_wait | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |