Compare Semver
compare_semverCompare two semver strings. Returns -1 (a<b), 0 (equal), or 1 (a>b), honoring prerelease precedence.
Example tool call
This call uses example arguments supplied in the tool’s input schema.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"a": "1.2.3",
"b": "1.2.4"
},
"name": "compare_semver"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| a | Yes | First version. | |
| b | Yes | Second version. |