Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func FormatHelp ¶
FormatHelp formats comprehensive help text for a tool. Combines full description, parameter docs from schema, and co-located helpText.
func RegisterTools ¶
func RegisterTools(server *mcp.SerenaMCPServer, k *kernel.Kernel)
RegisterTools registers the get_tool_help MCP tool with the server.
Types ¶
type GetToolHelpArgs ¶
type GetToolHelpArgs struct {
ToolName string `json:"tool_name" jsonschema:"required,Name of the tool to get help for"`
}
GetToolHelpArgs is the input schema for the get_tool_help tool.
type HelpSkill ¶
type HelpSkill struct{}
HelpSkill is a ToolProvider adapter that exposes the get_tool_help tool through the skill interface for daemon discovery.
func (*HelpSkill) Description ¶
Description returns a human-readable description of this skill.
func (*HelpSkill) Init ¶
Init is a no-op; kernel tools get their dependencies from the daemon, not SkillDeps.
type ParamDoc ¶
type ParamDoc struct {
Name string
Type string
Description string
Required bool
EnumValues []string
}
ParamDoc holds documentation for a single tool parameter.
func ExtractParamDocs ¶
ExtractParamDocs extracts parameter documentation from a tool's InputSchema. Uses the same json.Marshal -> map pattern proven in suggest.go.