tools

package
v1.1.0 Latest Latest
Warning

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

Go to latest
Published: Jul 13, 2026 License: MIT Imports: 19 Imported by: 0 modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func BuildIndexEntries added in v1.1.0

func BuildIndexEntries(mgr *mcpserver.Manager) []embed.ToolEntry

BuildIndexEntries converts the manager's AllTools into embed.ToolEntry slice. Each entry embeds tool name + signature + description for richer semantic matching.

func RegisterExecuteCode

func RegisterExecuteCode(s *mcp.Server, mgr *mcpserver.Manager, latticeDir string)

func RegisterFindTools added in v1.1.0

func RegisterFindTools(s *mcp.Server, mgr *mcpserver.Manager, idx *embed.Index)

RegisterFindTools registers the find_tools gateway tool. idx may be nil — in that case the tool returns a helpful error instead of panicking.

func RegisterGetSkillGraph

func RegisterGetSkillGraph(s *mcp.Server, mgr *mcpserver.Manager)

func RegisterListSkills

func RegisterListSkills(s *mcp.Server, mgr *mcpserver.Manager)

func RegisterPlanWorkflow

func RegisterPlanWorkflow(s *mcp.Server, mgr *mcpserver.Manager)

func RegisterReadLattice

func RegisterReadLattice(s *mcp.Server, mgr *mcpserver.Manager, latticeDir string)

func RegisterReadResource

func RegisterReadResource(s *mcp.Server, mgr *mcpserver.Manager)

func RegisterRegisterServer

func RegisterRegisterServer(s *mcp.Server, mgr *mcpserver.Manager, configPath string, binding GatewayBinding)

func RegisterUseSkill

func RegisterUseSkill(s *mcp.Server, mgr *mcpserver.Manager)

Types

type GatewayBinding added in v1.0.0

type GatewayBinding struct {
	Transport string
	Host      string
}

GatewayBinding describes the transport and host the gateway itself is serving on. Used by register_server to gate registration when the gateway is exposed on a non-loopback HTTP address (see ADR-0001).

type TraceCollector

type TraceCollector struct {
	ToolCalls []trace.ToolCallTrace
	// contains filtered or unexported fields
}

func (*TraceCollector) Add

func (c *TraceCollector) Add(call trace.ToolCallTrace)

Jump to

Keyboard shortcuts

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