Documentation
¶
Index ¶
Constants ¶
View Source
const ToolPrefix = "llm_semantic_"
ToolPrefix is the prefix for all llm-semantic tools
Variables ¶
View Source
var BinaryPath = "/usr/local/bin/llm-semantic"
BinaryPath is the path to the llm-semantic binary
View Source
var CommandTimeout = 120 * time.Second
CommandTimeout is the default timeout for command execution Increased to 120s for index/update operations which can be slow
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.