Help us shape the future of Go! Take the 2026 Go Developer Survey

memorytool

package
v1.41.2 Latest Latest
Warning

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

Go to latest
Published: May 6, 2026 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type SearchTool

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

SearchTool allows agents to search their long-term memory. This is injected when auto-recall is disabled.

func New

func New() *SearchTool

New creates a new memory search tool.

func (*SearchTool) Call

func (t *SearchTool) Call(ctx tool.Context, args map[string]any) (map[string]any, error)

func (*SearchTool) Description

func (t *SearchTool) Description() string

func (*SearchTool) IsLongRunning

func (t *SearchTool) IsLongRunning() bool

func (*SearchTool) Name

func (t *SearchTool) Name() string

func (*SearchTool) RequiresApproval

func (t *SearchTool) RequiresApproval() bool

func (*SearchTool) Schema

func (t *SearchTool) Schema() map[string]any

Jump to

Keyboard shortcuts

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