tools

package
v0.5.0 Latest Latest
Warning

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

Go to latest
Published: Jan 23, 2026 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Overview

Package tools provides MCP tool definitions for mcp-data-platform.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ExampleToolArgs

type ExampleToolArgs struct {
	Message string `json:"message" jsonschema:"required" jsonschema_description:"The message to echo"`
}

ExampleToolArgs defines the arguments for the example tool.

type Toolkit

type Toolkit struct {
}

Toolkit provides MCP tools.

func NewToolkit

func NewToolkit() *Toolkit

NewToolkit creates a new Toolkit.

func (*Toolkit) Close

func (t *Toolkit) Close() error

Close cleans up any resources used by the toolkit.

func (*Toolkit) RegisterTools

func (t *Toolkit) RegisterTools(s *mcp.Server)

RegisterTools registers all tools with the MCP server.

Jump to

Keyboard shortcuts

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