Help us shape the future of Go! Take the 2026 Go Developer Survey

tools

package
v0.0.4 Latest Latest
Warning

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

Go to latest
Published: Feb 15, 2026 License: MIT Imports: 23 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func HandleCopyFile

func HandleCopyFile(ctx context.Context, reg *registry.Registry, request mcp.CallToolRequest) (*mcp.CallToolResult, error)

HandleCopyFile handles the copy_file tool.

func HandleCreateDirectory

func HandleCreateDirectory(ctx context.Context, reg *registry.Registry, request mcp.CallToolRequest) (*mcp.CallToolResult, error)

HandleCreateDirectory handles the create_directory tool.

func HandleDeleteDirectory

func HandleDeleteDirectory(ctx context.Context, reg *registry.Registry, request mcp.CallToolRequest) (*mcp.CallToolResult, error)

HandleDeleteDirectory handles the delete_directory tool.

func HandleDeleteFile

func HandleDeleteFile(ctx context.Context, reg *registry.Registry, request mcp.CallToolRequest) (*mcp.CallToolResult, error)

HandleDeleteFile handles the delete_file tool.

func HandleDirectoryTree

func HandleDirectoryTree(ctx context.Context, reg *registry.Registry, request mcp.CallToolRequest) (*mcp.CallToolResult, error)

HandleDirectoryTree handles the directory_tree tool.

func HandleEditFile

func HandleEditFile(ctx context.Context, reg *registry.Registry, request mcp.CallToolRequest) (*mcp.CallToolResult, error)

HandleEditFile handles the edit_file tool.

func HandleGetFileInfo

func HandleGetFileInfo(ctx context.Context, reg *registry.Registry, request mcp.CallToolRequest) (*mcp.CallToolResult, error)

HandleGetFileInfo handles the get_file_info tool.

func HandleListAllowedDirectories

func HandleListAllowedDirectories(ctx context.Context, reg *registry.Registry, request mcp.CallToolRequest) (*mcp.CallToolResult, error)

HandleListAllowedDirectories handles the list_allowed_directories tool.

func HandleListDirectory

func HandleListDirectory(ctx context.Context, reg *registry.Registry, request mcp.CallToolRequest) (*mcp.CallToolResult, error)

HandleListDirectory handles the list_directory tool.

func HandleListDirectoryWithSizes

func HandleListDirectoryWithSizes(ctx context.Context, reg *registry.Registry, request mcp.CallToolRequest) (*mcp.CallToolResult, error)

HandleListDirectoryWithSizes handles the list_directory_with_sizes tool.

func HandleMoveFile

func HandleMoveFile(ctx context.Context, reg *registry.Registry, request mcp.CallToolRequest) (*mcp.CallToolResult, error)

HandleMoveFile handles the move_file tool.

func HandleReadFile

func HandleReadFile(ctx context.Context, reg *registry.Registry, request mcp.CallToolRequest) (*mcp.CallToolResult, error)

HandleReadFile handles the read_file tool.

func HandleReadMediaFile

func HandleReadMediaFile(ctx context.Context, reg *registry.Registry, request mcp.CallToolRequest) (*mcp.CallToolResult, error)

HandleReadMediaFile handles the read_media_file tool.

func HandleReadMultipleFiles

func HandleReadMultipleFiles(ctx context.Context, reg *registry.Registry, request mcp.CallToolRequest) (*mcp.CallToolResult, error)

HandleReadMultipleFiles handles the read_multiple_files tool.

func HandleReadTextFile

func HandleReadTextFile(ctx context.Context, reg *registry.Registry, request mcp.CallToolRequest) (*mcp.CallToolResult, error)

HandleReadTextFile handles the read_text_file tool.

func HandleSearchFiles

func HandleSearchFiles(ctx context.Context, reg *registry.Registry, request mcp.CallToolRequest) (*mcp.CallToolResult, error)

HandleSearchFiles handles the search_files tool.

func HandleWriteFile

func HandleWriteFile(ctx context.Context, reg *registry.Registry, request mcp.CallToolRequest) (*mcp.CallToolResult, error)

HandleWriteFile handles the write_file tool.

func NewCopyFileTool

func NewCopyFileTool(reg *registry.Registry) mcp.Tool

NewCopyFileTool creates the copy_file tool.

func NewCreateDirectoryTool

func NewCreateDirectoryTool(reg *registry.Registry) mcp.Tool

NewCreateDirectoryTool creates the create_directory tool.

func NewDeleteDirectoryTool

func NewDeleteDirectoryTool(reg *registry.Registry) mcp.Tool

NewDeleteDirectoryTool creates the delete_directory tool.

func NewDeleteFileTool

func NewDeleteFileTool(reg *registry.Registry) mcp.Tool

NewDeleteFileTool creates the delete_file tool.

func NewDirectoryTreeTool

func NewDirectoryTreeTool(reg *registry.Registry) mcp.Tool

NewDirectoryTreeTool creates the directory_tree tool.

func NewEditFileTool

func NewEditFileTool(reg *registry.Registry) mcp.Tool

NewEditFileTool creates the edit_file tool.

func NewGetFileInfoTool

func NewGetFileInfoTool(reg *registry.Registry) mcp.Tool

NewGetFileInfoTool creates the get_file_info tool.

func NewListAllowedDirectoriesTool

func NewListAllowedDirectoriesTool(reg *registry.Registry) mcp.Tool

NewListAllowedDirectoriesTool creates the list_allowed_directories tool.

func NewListDirectoryTool

func NewListDirectoryTool(reg *registry.Registry) mcp.Tool

NewListDirectoryTool creates the list_directory tool.

func NewListDirectoryWithSizesTool

func NewListDirectoryWithSizesTool(reg *registry.Registry) mcp.Tool

NewListDirectoryWithSizesTool creates the list_directory_with_sizes tool.

func NewMoveFileTool

func NewMoveFileTool(reg *registry.Registry) mcp.Tool

NewMoveFileTool creates the move_file tool.

func NewReadFileTool

func NewReadFileTool(reg *registry.Registry) mcp.Tool

NewReadFileTool creates the read_file tool (deprecated alias for read_text_file).

func NewReadMediaFileTool

func NewReadMediaFileTool(reg *registry.Registry) mcp.Tool

NewReadMediaFileTool creates the read_media_file tool.

func NewReadMultipleFilesTool

func NewReadMultipleFilesTool(reg *registry.Registry) mcp.Tool

NewReadMultipleFilesTool creates the read_multiple_files tool.

func NewReadTextFileTool

func NewReadTextFileTool(reg *registry.Registry) mcp.Tool

NewReadTextFileTool creates the read_text_file tool.

func NewSearchFilesTool

func NewSearchFilesTool(reg *registry.Registry) mcp.Tool

NewSearchFilesTool creates the search_files tool.

func NewWriteFileTool

func NewWriteFileTool(reg *registry.Registry) mcp.Tool

NewWriteFileTool creates the write_file tool.

Types

This section is empty.

Jump to

Keyboard shortcuts

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