Documentation
¶
Overview ¶
Package skill provides a meta-tool for LLM-invocable skills with progressive disclosure.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Inputs ¶
type Inputs struct {
Name string `json:"name" jsonschema:"required,description=Skill name to invoke"`
}
Inputs defines the parameters for the Skill tool.
type Tool ¶
Tool is a meta-tool that lets the LLM invoke user-defined skills by name. Skill descriptions are embedded in the tool's description for progressive disclosure. The full skill body is returned only when the LLM invokes a specific skill.
func New ¶
func New(skills config.Collection[config.Skill]) *Tool
New creates a Skill tool with a dynamic description built from all skill descriptions.
func (*Tool) Sandboxable ¶
Sandboxable returns false as this tool has no filesystem operations.
Click to show internal directories.
Click to hide internal directories.