Documentation
¶
Index ¶
Constants ¶
View Source
const ToolPrefix = "llm_filesystem_"
ToolPrefix is the prefix for all llm-filesystem tools
Variables ¶
View Source
var AllowedDirs []string
AllowedDirs holds the allowed directories for path validation
View Source
var BinaryPath = "/usr/local/bin/llm-filesystem"
BinaryPath is the path to the llm-filesystem binary
View Source
var CommandTimeout = 60 * time.Second
CommandTimeout is the default timeout for command execution
Functions ¶
Types ¶
type ToolDefinition ¶
type ToolDefinition struct {
Name string
Description string
InputSchema json.RawMessage
}
ToolDefinition defines a tool for the MCP SDK
func GetToolDefinitions ¶
func GetToolDefinitions() []ToolDefinition
GetToolDefinitions returns tool definitions for the official MCP SDK NOTE: This MCP exposes 14 batch/specialized tools. Single-file operations should use Claude's native Read, Write, and Edit tools for better performance.
Click to show internal directories.
Click to hide internal directories.