semver_compare
Compare two semantic version strings and return whether the first is greater than, less than, or equal to the second for version ordering and compatibility checks.
Instructions
Compare two semantic versions (returns greater, less, or equal).
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": {
"version_a": "<version_a>",
"version_b": "<version_b>"
},
"name": "semver_compare"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| version_a | Yes | First version. | |
| version_b | Yes | Second version. |