Get Go Mod
get_go_modRaw go.mod contents for a specific version. Useful for dependency analysis.
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": {
"version": "v1.9.1",
"module_path": "github.com/gin-gonic/gin"
},
"name": "get_go_mod"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| version | Yes | Version | |
| module_path | Yes | Module import path |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| go_mod | Yes | Raw go.mod file contents | |
| version | Yes | Module version | |
| module_path | Yes | Module import path |