mcp

package
v1.8.13 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewMCPClientTool

func NewMCPClientTool() types.Tool

Types

type MCPClientTool

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

func (*MCPClientTool) Description

func (t *MCPClientTool) Description() string

func (*MCPClientTool) Execute

func (t *MCPClientTool) Execute(ctx context.Context, input map[string]interface{}) (interface{}, error)

func (*MCPClientTool) Metadata

func (t *MCPClientTool) Metadata() types.ToolMetadata

func (*MCPClientTool) Name

func (t *MCPClientTool) Name() string

func (*MCPClientTool) Schema

func (t *MCPClientTool) Schema() map[string]interface{}

Jump to

Keyboard shortcuts

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