Get and parse Go module go.mod file
get_go_mod_fileFetch the go.mod file for a Go module version and parse its Go version, direct dependencies, and indirect dependencies.
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": {
"module_path": "<module_path>",
"version": "<version>"
},
"name": "get_go_mod_file"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| version | Yes | Semver version starting with v (e.g. "v1.10.0"). | |
| module_path | Yes | Go module path (e.g. "github.com/gin-gonic/gin"). |