{"modulePath":"github.com/CodeFromSpec/tool-subagent-mcp","version":"v1.0.1","isLatest":false,"isStandardLibrary":false,"goos":"all","goarch":"all","docs":"# package codegen\n\n## Constants\n\n```go\nconst Instructions = `How to use this MCP server:\n\n1. Call load_context with the logical name of the node\n   to generate code for.\n2. Generate the code from the returned context.\n3. Call write_file once per file to write the result,\n   passing the same logical_name used in load_context.`\n```\n\n## Functions\n\n```go\nfunc HelpMessage() string\n```\n\n```go\nfunc Setup(s *mcp.Server, args []string) error\n```\n\n## Types\n\n```go\ntype LoadContextArgs struct {\n\tLogicalName string `json:\"logical_name\" jsonschema:\"Logical name of the node to generate code for.\"`\n}\n```\n\n```go\ntype WriteFileArgs struct {\n\tLogicalName string `json:\"logical_name\" jsonschema:\"Logical name of the node whose implements list authorizes the write.\"`\n\tPath        string `json:\"path\" jsonschema:\"Relative file path from project root.\"`\n\tContent     string `json:\"content\" jsonschema:\"Complete file content to write.\"`\n}\n```\n\n","path":"github.com/CodeFromSpec/tool-subagent-mcp/internal/modes/codegen","name":"codegen","synopsis":"","isRedistributable":true}
