load_chain

package
v1.1.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 22, 2026 License: MIT Imports: 10 Imported by: 0

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

func RegisterTool(server *mcp.Server)

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"

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL