check_upgrade_readiness
Verifies device upgrade readiness by checking target version and package availability via dry-run.
Instructions
Check if a device is ready for upgrade.
Verifies whether the device is already running the target version, and performs a dry-run to check local/remote package availability.
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": "check_upgrade_readiness"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| hostname | Yes | ||
| config_path | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |