Compare two versions of an application
edgegap_compare_versionsCompare two app versions from their running deployments to decide rollback or promote: error deployments, crash restarts, exit codes, and CPU/memory use versus requested limits, with differences spelled out.
Instructions
Compare two versions of one application from their running deployments, to back a rollback or promote decision: deployments in error, crash restarts and exit codes, and CPU and memory (average, p95, peak) against each version's requested cpu_units and memory_mb, with the differences spelled out. Reads up to 20 running deployments per version, newest first, so both versions need deployments running now (stopped ones keep no logs or status). Read-only.
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": {
"application": "<application>",
"version_a": "<version_a>",
"version_b": "<version_b>"
},
"name": "edgegap_compare_versions"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| version_a | Yes | The baseline version, e.g. the one in production. | |
| version_b | Yes | The version to compare against it, e.g. the new build. | |
| application | Yes | Application name. | |
| max_deployments_per_version | No | 1-20. Default 5. |