get_latest_version
Find the current version of a Maven artifact from groupId and artifactId across Maven Central, Google Maven, or Gradle Plugin Portal.
Instructions
Get the latest version of a Maven artifact from Maven Central, Google Maven, or Gradle Plugin Portal.
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": {
"groupId": "<groupId>",
"artifactId": "<artifactId>"
},
"name": "get_latest_version"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| groupId | Yes | Maven group ID | |
| artifactId | Yes | Maven artifact ID | |
| projectPath | No | Project root used to resolve declared repositories. Defaults to the current working directory. | |
| stabilityFilter | No | Version stability filter. Default: PREFER_STABLE |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| groupId | Yes | ||
| stability | Yes | ||
| artifactId | Yes | ||
| relocatedTo | No | ||
| resolvedFrom | No | ||
| latestVersion | Yes | ||
| allVersionsCount | Yes |