ecp_asdf_recommend
Selects a compatible LTS or stable runtime version for an app without an exact version pin, applying detected constraints and returning an installed match or installable release.
Instructions
Pick a runtime version for an app that doesn't pin one exactly (ecp_apps_detect returned no runtime_version). Pass runtime_constraints from ecp_apps_detect as constraints (or [] if there were none). Returns the newest LTS release (newest stable for tools with no LTS, like python) that satisfies all of them - e.g. engines.node ">=22" gets the latest Node LTS, not 22. installed_match is an installed version on that line to use as-is; otherwise install version. relaxed=true means no release met every upper bound, so only minimums were applied. Prefer this over choosing a version yourself.
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": {
"name": "<name>"
},
"name": "ecp_asdf_recommend"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | ||
| constraints | No |