tool

package
v0.7.0 Latest Latest
Warning

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

Go to latest
Published: Mar 16, 2026 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type DescribeTool

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

DescribeTool inspects summary metadata and lineage.

func NewDescribeTool

func NewDescribeTool(engine memory.Engine) *DescribeTool

NewDescribeTool creates a memory_describe tool.

func (*DescribeTool) Definition

func (t *DescribeTool) Definition() toolspec.Definition

func (*DescribeTool) Execute

func (t *DescribeTool) Execute(ctx context.Context, args map[string]any) (string, error)

type ExpandTool

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

ExpandTool drills into a summary to retrieve original details.

func NewExpandTool

func NewExpandTool(engine memory.Engine) *ExpandTool

NewExpandTool creates a memory_expand tool.

func (*ExpandTool) Definition

func (t *ExpandTool) Definition() toolspec.Definition

func (*ExpandTool) Execute

func (t *ExpandTool) Execute(ctx context.Context, args map[string]any) (string, error)

type GrepTool

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

GrepTool searches conversation history using the memory retrieval engine.

func NewGrepTool

func NewGrepTool(engine memory.Engine) *GrepTool

NewGrepTool creates a memory_grep tool.

func (*GrepTool) Definition

func (t *GrepTool) Definition() toolspec.Definition

func (*GrepTool) Execute

func (t *GrepTool) Execute(ctx context.Context, args map[string]any) (string, error)

Jump to

Keyboard shortcuts

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