Documentation
¶
Index ¶
Constants ¶
View Source
const Prompt = `` /* 590-byte string literal not displayed */
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type RunToolsWithJavascriptArgs ¶
type RunToolsWithJavascriptArgs struct {
Script string `json:"script"`
}
type ToolSet ¶
type ToolSet interface {
Tools(ctx context.Context) ([]*ToolWithHandler, error)
}
ToolSet represents a collection of MCP tools with lifecycle management
type ToolWithHandler ¶
type ToolWithHandler struct { Tool *mcp.Tool Handler mcp.ToolHandler }
ToolWithHandler combines an MCP Tool definition with its handler function
Click to show internal directories.
Click to hide internal directories.