Scaffold a Go module
scaffold_goInitialize a Go module with a minimal main.go and confirm it builds successfully.
Instructions
Create a new Go module with a minimal main.go and verify it builds.
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": {
"name": "<name>",
"module": "<module>",
"dir": "<dir>"
},
"name": "scaffold_go"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | Folder name | |
| module | Yes | Go module path, e.g. github.com/you/app | |
| dir | Yes | Parent directory |