Documentation
¶
Overview ¶
Package read provides the MemoryRead tool for reading persistent memory entries.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Inputs ¶
type Inputs struct {
Key string `json:"key,omitempty" jsonschema:"description=Specific memory entry to read. Omit to list all entries in scope"`
Scope string `` /* 162-byte string literal not displayed */
Query string `json:"query,omitempty" jsonschema:"description=Keyword search across all memory entries in scope"`
}
Inputs defines the parameters for the MemoryRead tool.
type Tool ¶
Tool reads memory entries from disk.
func (*Tool) Execute ¶
Execute reads memory entries. Three modes:
- key set: read that specific file
- query set: search across all files for keyword matches
- neither: list all files with their first line as summary
func (*Tool) Sandboxable ¶
Sandboxable returns false as memory tools manage controlled paths in the filesystem.
Click to show internal directories.
Click to hide internal directories.