Documentation
¶
Index ¶
- Constants
- type AddToolArgs
- type SearchToolArgs
- type SearchToolResult
- type Toolset
- func (d *Toolset) AddSource(toolset tools.ToolSet, deferAll bool, toolNames []string)
- func (d *Toolset) HasSources() bool
- func (d *Toolset) Instructions() string
- func (d *Toolset) Start(ctx context.Context) error
- func (d *Toolset) Stop(context.Context) error
- func (d *Toolset) Tools(context.Context) ([]tools.Tool, error)
Constants ¶
View Source
const ( ToolNameSearchTool = "search_tool" ToolNameAddTool = "add_tool" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AddToolArgs ¶
type AddToolArgs struct {
Name string `json:"name" jsonschema:"The name of the tool to activate"`
}
type SearchToolArgs ¶
type SearchToolArgs struct {
Query string `json:"query" jsonschema:"Search query to find tools by name or description (case-insensitive)"`
}
type SearchToolResult ¶
type Toolset ¶
type Toolset struct {
// contains filtered or unexported fields
}
func NewDeferredToolset ¶
func NewDeferredToolset() *Toolset
func (*Toolset) HasSources ¶
func (*Toolset) Instructions ¶
Click to show internal directories.
Click to hide internal directories.