Help us shape the future of Go! Take the 2026 Go Developer Survey

codemode

package
v0.34.0 Latest Latest
Warning

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

Go to latest
Published: Dec 12, 2025 License: MIT Imports: 8 Imported by: 0

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

func Wrap

func Wrap(toolsets []ToolSet) ToolSet

type ToolWithHandler

type ToolWithHandler struct {
	Tool    *mcp.Tool
	Handler mcp.ToolHandler
}

ToolWithHandler combines an MCP Tool definition with its handler function

Jump to

Keyboard shortcuts

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