push_config
Apply configuration changes to Arista EOS devices with a dry-run diff preview and optional rollback timer for safe commits. Confirm the session to finalize changes.
Instructions
Push configuration to an EOS device via a named configure session.
When dry_run=True (default) shows diffs and aborts — no changes applied. When dry_run=False commits with a rollback timer (default 300 seconds). Call confirm_config_session before the timer expires to finalize.
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": {
"hostname": "<hostname>",
"config_lines": "<config_lines>"
},
"name": "push_config"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| dry_run | No | ||
| hostname | Yes | ||
| config_path | No | ||
| commit_timer | No | ||
| config_lines | Yes | ||
| session_name | No | mcp-push |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |