search

package
v1.8.13 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 2, 2026 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewCodeSearchTool

func NewCodeSearchTool() types.Tool

func NewGlobTool

func NewGlobTool(workspace string) types.Tool

func NewGrepTool

func NewGrepTool(workspace string) types.Tool

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 (t *GlobTool) Description() string

func (*GlobTool) Execute

func (t *GlobTool) Execute(ctx context.Context, input map[string]interface{}) (interface{}, error)

func (*GlobTool) Metadata

func (t *GlobTool) Metadata() types.ToolMetadata

func (*GlobTool) Name

func (t *GlobTool) Name() string

func (*GlobTool) Schema

func (t *GlobTool) Schema() map[string]interface{}

type GrepTool

type GrepTool struct {
	// contains filtered or unexported fields
}

func (*GrepTool) Description

func (t *GrepTool) Description() string

func (*GrepTool) Execute

func (t *GrepTool) Execute(ctx context.Context, input map[string]interface{}) (interface{}, error)

func (*GrepTool) Metadata

func (t *GrepTool) Metadata() types.ToolMetadata

func (*GrepTool) Name

func (t *GrepTool) Name() string

func (*GrepTool) Schema

func (t *GrepTool) Schema() map[string]interface{}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL