mcptools

package
v1.5.0 Latest Latest
Warning

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

Go to latest
Published: Apr 2, 2026 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type EntityProtector

type EntityProtector struct {
	// contains filtered or unexported fields
}

func NewEntityProtector

func NewEntityProtector() *EntityProtector

func (*EntityProtector) Protect

func (p *EntityProtector) Protect(input string) (string, map[string][]string)

func (*EntityProtector) Restore

func (p *EntityProtector) Restore(input string, protected map[string][]string) string

type MCPTool

type MCPTool struct {
	Name        string `json:"name"`
	Description string `json:"description"`
	Parameters  string `json:"parameters"`
}

type MCPToolRegistry

type MCPToolRegistry struct {
	// contains filtered or unexported fields
}

func NewMCPToolRegistry

func NewMCPToolRegistry() *MCPToolRegistry

func (*MCPToolRegistry) Count

func (r *MCPToolRegistry) Count() int

func (*MCPToolRegistry) Get

func (r *MCPToolRegistry) Get(name string) *MCPTool

func (*MCPToolRegistry) List

func (r *MCPToolRegistry) List() []*MCPTool

func (*MCPToolRegistry) Register

func (r *MCPToolRegistry) Register(tool *MCPTool)

func (*MCPToolRegistry) Search

func (r *MCPToolRegistry) Search(query string) []*MCPTool

Jump to

Keyboard shortcuts

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