compare_versions
Compare Maven dependency versions to identify upgrade paths between current and target releases, suggesting compatible updates.
Instructions
Compare two versions and suggest an upgrade path
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": {
"dependency": "<dependency>",
"currentVersion": "<currentVersion>"
},
"name": "compare_versions"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| dependency | Yes | Maven coordinate in format "groupId:artifactId" (e.g., "org.springframework:spring-core") | |
| currentVersion | Yes | The version you are currently using (e.g., "5.3.20") | |
| targetVersion | No | Optional: The version you want to upgrade to. If not provided, suggests the latest stable. |