server

package
v0.4.0 Latest Latest
Warning

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

Go to latest
Published: Dec 1, 2024 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func HandleListTools

func HandleListTools(
	ctx context.Context,
	cursor *string,
) (*mcp.ListToolsResult, error)

func HandleToolCall

func HandleToolCall(
	ctx context.Context,
	name string,
	args map[string]interface{},
) (*mcp.CallToolResult, error)

Types

type CalculationError

type CalculationError struct {
	Message string
}

CalculationError represents an error during calculation

func (CalculationError) Error

func (e CalculationError) Error() string

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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