Documentation
¶
Index ¶
Constants ¶
View Source
const ToolPrefix = "llm_support_"
ToolPrefix is the prefix for all llm-support tools
Variables ¶
View Source
var BinaryPath = "/usr/local/bin/llm-support"
BinaryPath is the path to the llm-support binary
View Source
var CommandTimeout = 60 * time.Second
CommandTimeout is the default timeout for command execution
View Source
var Debug = os.Getenv("LLM_SUPPORT_MCP_DEBUG") == "true"
Debug enables verbose logging for debugging MCP tool execution
View Source
var LLMTimeout = 300 * time.Second // 5 minutes
LLMTimeout is the timeout for LLM-based commands (prompt, complete, foreach) These commands call external LLM APIs which can take longer than typical operations
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
Click to show internal directories.
Click to hide internal directories.