Pkg Go Dev List Versions
pkg_go_dev_list_versionsList all published versions of a Go module by its import path (e.g. "github.com/gin-gonic/gin") from proxy.golang.org. Returns a sorted array of semver version strings.
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": {
"module_path": "github.com/gin-gonic/gin"
},
"name": "pkg_go_dev_list_versions"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| module_path | Yes | Module import path (e.g. "github.com/gin-gonic/gin", "golang.org/x/net") |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| count | Yes | Number of published versions | |
| versions | Yes | List of published versions, sorted | |
| module_path | Yes | Module import path |