generate_go_module
Create a go.mod file with curated dependencies matched to your project type. Provide a module path to get a ready-to-use Go module configuration.
Instructions
Generate go.mod with curated dependencies for the project type
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>"
},
"name": "generate_go_module"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| api_key | No | API key for authentication | |
| go_version | No | Go version (e.g. 1.22) | |
| module_path | Yes | Go module path | |
| dependencies | No | Additional dependencies to include |