Documentation
¶
Overview ¶
Package load_chain implements the load_chain MCP tool handler.
The tool validates a target logical name, loads the spec chain for that node, and returns the chain content as a single concatenated MCP text response. See spec § "Algorithm" and § "Chain output format".
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func RegisterTool ¶
RegisterTool registers the load_chain tool on the given MCP server.
Tool name and description match the spec exactly. Spec ref: ROOT/tech_design/internal/tools/load_chain § "Tool definition"
Types ¶
type LoadChainArgs ¶
type LoadChainArgs struct {
LogicalName string `json:"logical_name" jsonschema:"Logical name of the node to generate code for."`
}
LoadChainArgs holds the input parameters for the load_chain tool. Spec ref: ROOT/tech_design/internal/tools/load_chain § "LoadChainArgs type"
Click to show internal directories.
Click to hide internal directories.