Documentation
¶
Overview ¶
Package memorytools exposes Work's memory MCP tools (memory_search, memory_get, memory_create, memory_update, memory_delete, memory_create_batch, memory_delete_batch, memory_capabilities) with the same names, input schemas and result shapes, backed by memory.Service.
Index ¶
Constants ¶
This section is empty.
Variables ¶
var Names = []string{"memory_search", "memory_get", "memory_create", "memory_update", "memory_delete",
"memory_create_batch", "memory_delete_batch", "memory_capabilities"}
Names are the tools, in Work's order (MEMORY_MCP_ENABLED_TOOLS).
Functions ¶
func EventValue ¶
EventValue is the work.memory payload of a change: {action: created | updated | proposed | deleted, id, path, title, text, status, contentHash, proposal? (create | update: what waits for the user), mode?, proposed? (deleted after untrusted content: soft, undoable)}. For a proposed update, title, text and contentHash are the proposal's (the entry keeps its confirmed content until the user keeps it).