mcps

package
v0.2.1 Latest Latest
Warning

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

Go to latest
Published: Mar 7, 2025 License: MIT Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MCPs

type MCPs struct {
	Tools []openai.ChatCompletionToolParam
	// contains filtered or unexported fields
}

func New

func New(providers ...string) (*MCPs, error)

func (*MCPs) CallTool

func (m *MCPs) CallTool(ctx context.Context, callID string, toolName string, args map[string]any) (openai.ChatCompletionMessageParamUnion, error)

func (*MCPs) Shutdown

func (m *MCPs) Shutdown()

type McpClient

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

func NewClient

func NewClient(provider string) (*McpClient, error)

func NewLocalClient

func NewLocalClient(provider string) (*McpClient, error)

func NewRemoteClient

func NewRemoteClient(provider string) (*McpClient, error)

Jump to

Keyboard shortcuts

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