tools

package
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: Feb 3, 2025 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Server

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

Server provides server-side tool functionality

func NewServer

func NewServer(base *base.Base, initialTools []types.McpTool) *Server

NewServer creates a new Server

func (*Server) SetTools

func (s *Server) SetTools(ctx context.Context, tools []types.McpTool) error

SetTools updates the list of available tools

Jump to

Keyboard shortcuts

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