Get one application version
edgegap_get_app_versionReads an Edgegap app version’s full configuration—image, resources, ports, caching, restart policy, log storage, and env var names—so you can validate it before updating or deploying.
Instructions
Read one version in full: image, resources, ports, max_duration, whether image caching (force_cache) and verify_image are on, restart policy, the Endpoint Storage its logs go to, and the names of its env vars (values are never shown). Use it before edgegap_update_app_version or edgegap_deploy to check what a version will do.
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": "<version>"
},
"name": "edgegap_get_app_version"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| version | Yes | Version name, as listed by edgegap_list_app_versions. | |
| application | Yes | Application name. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| env | No | ||
| name | No | ||
| image | No | ||
| ports | No | ||
| active | No | ||
| warning | No | ||
| auto_stop | No | ||
| cpu_units | No | ||
| memory_mb | No | ||
| application | No | ||
| force_cache | No | ||
| verify_image | No | ||
| restart_policy | No | ||
| caching_percent | No | ||
| endpoint_storage | No | ||
| max_duration_minutes | No | ||
| auto_stop_after_minutes | No | ||
| registry_credentials_set | No | ||
| termination_grace_period_seconds | No |