semver_sort
Sort versions by semver PRECEDENCE (rule 11), not alphabet: 10.0.0 > 2.0.0, prerelease < release, numeric identifiers ordered numerically. Agents pick the wrong 'latest' daily; this one cannot.
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": {
"versions": "<versions>"
},
"name": "semver_sort"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| versions | Yes |