Go Mod
go_modgo.mod content.
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.3",
"module_path": "github.com/sirupsen/logrus"
},
"name": "go_mod"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| version | No | ||
| module_path | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| body | Yes | Content of the go.mod file | |
| version | Yes | The version string | |
| module_path | Yes | The module path |