MCPcopy Create free account
hub / github.com/astercloud/aster / NewMemoryWriteTool

Function NewMemoryWriteTool

pkg/middleware/memory_tools.go:173–178  ·  view source on GitHub ↗

NewMemoryWriteTool 创建写入工具

(manager *memory.Manager, baseNamespace string)

Source from the content-addressed store, hash-verified

171
172// NewMemoryWriteTool 创建写入工具
173func NewMemoryWriteTool(manager *memory.Manager, baseNamespace string) tools.Tool {
174 return &MemoryWriteTool{
175 manager: manager,
176 baseNamespace: strings.TrimSpace(baseNamespace),
177 }
178}
179
180func (t *MemoryWriteTool) Name() string {
181 return "memory_write"

Callers 1

createMemoryToolsMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected