tools

package
v0.1.0 Latest Latest
Warning

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

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

Documentation

Overview

Package tools provides MCP tools for SQLite database operations

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type QueryTools

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

QueryTools provides MCP tools for SQLite database operations

func New

func New(db *database.DB) *QueryTools

New creates a new QueryTools instance

func (*QueryTools) GetTools

func (qt *QueryTools) GetTools() []mcp.Tool

GetTools returns all available MCP tools

func (*QueryTools) HandleTool

func (qt *QueryTools) HandleTool(ctx context.Context, request mcp.CallToolRequest) (*mcp.CallToolResult, error)

HandleTool handles MCP tool calls

Jump to

Keyboard shortcuts

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