Documentation
¶
Index ¶
- func NewCodeSearchTool() types.Tool
- func NewGlobTool(workspace string) types.Tool
- func NewGrepTool(workspace string) types.Tool
- type CodeSearchTool
- func (t *CodeSearchTool) Description() string
- func (t *CodeSearchTool) Execute(ctx context.Context, input map[string]interface{}) (interface{}, error)
- func (t *CodeSearchTool) Metadata() types.ToolMetadata
- func (t *CodeSearchTool) Name() string
- func (t *CodeSearchTool) Schema() map[string]interface{}
- type GlobTool
- type GrepTool
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewCodeSearchTool ¶
func NewGlobTool ¶
func NewGrepTool ¶
Types ¶
type CodeSearchTool ¶
type CodeSearchTool struct{}
func (*CodeSearchTool) Description ¶
func (t *CodeSearchTool) Description() string
func (*CodeSearchTool) Execute ¶
func (t *CodeSearchTool) Execute(ctx context.Context, input map[string]interface{}) (interface{}, error)
func (*CodeSearchTool) Metadata ¶
func (t *CodeSearchTool) Metadata() types.ToolMetadata
func (*CodeSearchTool) Name ¶
func (t *CodeSearchTool) Name() string
func (*CodeSearchTool) Schema ¶
func (t *CodeSearchTool) Schema() map[string]interface{}
type GlobTool ¶
type GlobTool struct {
// contains filtered or unexported fields
}
func (*GlobTool) Description ¶
func (*GlobTool) Metadata ¶
func (t *GlobTool) Metadata() types.ToolMetadata
Click to show internal directories.
Click to hide internal directories.