tool

package
v0.8.1 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func MemoryDefinition added in v0.8.0

func MemoryDefinition() toolspec.Definition

MemoryDefinition returns the tool definition without requiring a live engine.

Types

type MemoryTool added in v0.8.0

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

MemoryTool provides a unified interface for all memory operations. Actions: grep, describe, expand, user_memory_update.

func NewMemoryTool added in v0.8.0

func NewMemoryTool(engine memory.Engine, memStore *memory.UserMemoryStore) *MemoryTool

NewMemoryTool creates a unified memory tool.

func (*MemoryTool) Definition added in v0.8.0

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

func (*MemoryTool) Execute added in v0.8.0

func (t *MemoryTool) 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