get_version
Check JUNOS device version and upgrade status. Retrieve running, planning, and pending versions, package status, and reboot schedule for a specified hostname.
Instructions
Get JUNOS version information with upgrade status.
Shows running version, planning version, pending version, local/remote package status, and reboot schedule.
Args: hostname: Target device hostname (must exist in config.ini) config_path: Path to config.ini (empty string uses default search)
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>"
},
"name": "get_version"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| hostname | Yes | ||
| config_path | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |