export_node
Save a single node's or all nodes' running configuration directly into the saved lab file to prevent configuration loss and keep lab snapshots up to date.
Instructions
Export one node's (or all nodes') running config into the saved lab file.
Args: lab_path: Full path to the .unl lab file. node_id: Node id to export, or omit to export all nodes.
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": {
"lab_path": "<lab_path>"
},
"name": "export_node"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| node_id | No | ||
| lab_path | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||