configure_device
Apply configuration lines to a lab device. Preview changes with dry-run before sending.
Instructions
Apply config lines to a lab device, with dry-run enabled by default.
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": {
"device_name": "<device_name>",
"commands": "<commands>"
},
"name": "configure_device"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| device_name | Yes | Inventory name, such as r1 or spine1. | |
| commands | Yes | Config lines only. Do not include configure terminal or end. | |
| dry_run | No | When true, preview the change without sending config. | |
| confirm | No | Must be true with dry_run=false before config is sent. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||