Documentation
¶
Index ¶
- func CallTool(ctx context.Context, tp Transporter, toolName string, argsAsJson string) (*mcp.CallToolResult, error)
- func Close()
- func GetClient(ctx context.Context, tp Transporter) (c client.MCPClient, err error)
- func ListAllTools(ctx context.Context, s map[string]Transporter) (map[string]map[string]mcp.Tool, error)
- func ListTools(ctx context.Context, tp Transporter) ([]mcp.Tool, error)
- type Timeouts
- type Transporter
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CallTool ¶
func CallTool(ctx context.Context, tp Transporter, toolName string, argsAsJson string) (*mcp.CallToolResult, error)
func ListAllTools ¶
Types ¶
type Timeouts ¶
func (Timeouts) ExecutionContext ¶
func (Timeouts) InitContext ¶
func (Timeouts) ListContext ¶
Click to show internal directories.
Click to hide internal directories.