[ { "name": "mnemon_subagent_result", "description": "Record a Mnemon delegated result. The child must use its current requestId and result schema from its completion instructions.", "parameters": { "type": "object", "properties": { "requestId": { "type": "string", "minLength": 1 }, "result": { "type": "object", "additionalProperties": true } }, "required": [ "requestId", "result" ], "additionalProperties": false }, "output": { "type": "object", "properties": { "recorded": { "type": "boolean", "const": true } }, "required": [ "recorded" ], "additionalProperties": false } }, { "name": "mnemon_view_route", "description": "Execute one exact Route offered in the current MNEMON VIEW ROUTES envelope. Use only ids present in that envelope; the Host binds the request to its hidden ReadGrant, enforces call/result/character budgets, and returns Evidence.", "parameters": { "type": "object", "properties": { "routeId": { "type": "string", "description": "Exact View Route id." }, "input": { "type": "object", "additionalProperties": true, "description": "Route-specific JSON input described by the offered Route." } }, "required": [ "routeId", "input" ] }, "output": { "type": "object", "additionalProperties": true } }, { "name": "mnemon_view_action", "description": "Execute one exact Action offered in the current MNEMON VIEW ROUTES envelope. The Host rechecks write policy and authority at call time and returns a mutation Receipt; an offer is never itself authorization.", "parameters": { "type": "object", "properties": { "offerId": { "type": "string", "description": "Exact View ActionOffer id." }, "input": { "type": "object", "additionalProperties": true, "description": "Action-specific JSON input described by the offered Action." } }, "required": [ "offerId", "input" ] }, "output": { "type": "object", "additionalProperties": true } }, { "name": "mnemon_memory_bodies", "description": "Inspect a bounded Memory Space catalog with ids, routing, capabilities, activation, and health; paths, settings, and statistics are omitted. Use only for explicit space inspection or management, or before a capability-dependent write. Never call it to route Recall: omit memoryBodyIds and mnemon_recall searches every pinned active space.", "parameters": { "type": "object", "properties": {} }, "output": { "type": "object", "additionalProperties": true } }, { "name": "mnemon_recall", "description": "Recall bounded durable evidence from this turn's pinned MemorySource only when the current question needs history. The Host allows one initial query plus one LLM-chosen different-query refinement, shares one evidence envelope, validates Memory Spaces, ignores brittle semantic filters, and replays duplicate queries. Omit memoryBodyIds to search every pinned active space. It searches the memories in Memory Spaces, not project Documents, which mnemon_document_search searches; of a cold-archived Document it finds only the index memory the archive left in a space.", "parameters": { "type": "object", "properties": { "query": { "type": "string", "description": "Focused natural-language memory query." }, "mode": { "type": "string", "enum": [ "smart", "keyword", "basic" ], "description": "smart=graph-enhanced default, keyword=token ranking, basic=SQL LIKE fallback." }, "limit": { "type": "integer", "description": "Maximum number of results. The model path caps output at 6." }, "memoryBodyIds": { "type": "array", "items": { "type": "string" }, "description": "Optional known active Memory Space ids to narrow recall. Omit this field to search every pinned active space; do not list the catalog only to populate it. The Host rejects ids outside the pinned Source." } }, "required": [ "query" ] }, "output": { "type": "object", "additionalProperties": true } }, { "name": "mnemon_related", "description": "Traverse one insight admitted by this turn's mnemon_recall. At most one traversal is allowed per turn; use it only when the owning Memory Space reports capabilities.related=true and graph neighbors materially help. OpenViking does not currently support this operation. In a Mnemon Native space each neighbor names the edge it came through (edgeType): Mnemon adds temporal edges between memories written close in time and entity edges between memories that share an entity, so those are many; pass edge to follow one kind, such as semantic or causal. Other Providers name no edge type and do not filter by edge.", "parameters": { "type": "object", "properties": { "id": { "type": "string", "description": "Insight id returned by mnemon_recall." }, "depth": { "type": "integer", "description": "Traversal depth. The service accepts 1 through 5." }, "edge": { "type": "string", "enum": [ "temporal", "semantic", "causal", "entity" ] }, "memoryBodyId": { "type": "string", "description": "Active Memory Space that returned this insight id." } }, "required": [ "id" ] }, "output": { "type": "object", "additionalProperties": true } }, { "name": "mnemon_status", "description": "Check a bounded health summary for memory-provider integrations and Memory Spaces. Use only when a memory operation fails or the user asks about memory health; full paths, settings, directories, and per-Space statistics stay in the control plane.", "parameters": { "type": "object", "properties": {} }, "output": { "type": "object", "additionalProperties": true } }, { "name": "mnemon_document_search", "description": "Run one focused search over project-scoped managed Documents before durable Recall. The Host admits only one Documents query per executing Agent turn; parallel calls share that slot, while child turns have independent budgets. Results contain bounded query-local evidence, not complete records. Cold archives are excluded unless a known archive reference requires them. It searches Documents only: memories in Memory Spaces are never in its results, so recall those with mnemon_recall.", "parameters": { "type": "object", "properties": { "query": { "type": "string", "description": "Focused natural-language or keyword query. Empty lists recent documents." }, "includeArchived": { "type": "boolean", "description": "Include cold archived originals only for explicit deep-reference inspection." }, "limit": { "type": "integer", "description": "Maximum results, 1 through 4 for model calls." } }, "required": [ "query" ] }, "output": { "type": "object", "additionalProperties": true } }, { "name": "mnemon_document_create", "description": "Create one new managed project Document without updating or archiving existing documents. Search first and skip duplicates; save only substantial new reusable project knowledge, with references to related document ids. Capacity exhaustion rejects creation and preserves existing documents.", "parameters": { "type": "object", "additionalProperties": false, "properties": { "title": { "type": "string", "description": "Meaningful project-document title." }, "description": { "type": "string", "description": "Concise routing description." }, "content": { "type": "string", "description": "New managed Markdown body." }, "sourcePaths": { "type": "array", "items": { "type": "string" }, "description": "Read-only source paths relative to the workspace." } }, "required": [ "title", "content" ] }, "output": { "type": "object", "additionalProperties": true } }, { "name": "mnemon_document_manage", "description": "Create or update one managed project Document through the Mnemon Documents control plane. Use for substantial reusable project knowledge, not user-profile preferences, routine progress, raw transcripts, secrets, or small hot-memory facts. Source paths are references inside the workspace and are never edited. Archive is allowed only from a root request and first writes a durable Mnemon cold-reference through an isolated subagent.", "parameters": { "type": "object", "properties": { "action": { "type": "string", "enum": [ "create", "update", "archive" ] }, "id": { "type": "string", "description": "Required for update and archive." }, "title": { "type": "string", "description": "Meaningful project-document title. Required for create." }, "description": { "type": "string", "description": "Concise routing description." }, "content": { "type": "string", "description": "Managed Markdown body. Required for create." }, "sourcePaths": { "type": "array", "items": { "type": "string" }, "description": "Read-only source paths relative to the workspace." } }, "required": [ "action" ] }, "output": { "type": "object", "additionalProperties": true } }, { "name": "mnemon_runtime_memory", "description": "Maintain compact hot memory injected into future turns. Capture only new, explicit, durable user-authored identity/preferences or compact rules needed for future work. Project records, one-off decisions, configuration/account snapshots, investigations and progress belong in Documents when substantial and writable; otherwise skip. A general request to remember does not change that destination; honor a user who explicitly chooses Runtime, USER.md or MEMORY.md, subject to existing permissions. Never copy, promote, or summarize evidence returned by Documents, Recall, or Related unless the user explicitly asks to save that exact evidence; answering a read question must stay read-only. add creates one independent fact; replace corrects or consolidates one uniquely matched entry; remove is only for an explicitly withdrawn, obsolete, or wrong entry. target=user is only for who the user is; target=memory is for compact user-stated rules needed for future work. Skip questions, guesses, assistant-authored claims, temporary progress, completed-work logs, raw dumps, secrets, rediscoverable facts, and skill-covered guidance. This tool exclusively writes runtime MEMORY.md and USER.md; capacity archival and compaction are automatic. Optional branches (git branch names, target=memory only) project an entry only in sessions on those branches: scope does not change capture eligibility; tag new branch-scoped entries with the git branch reported in the snapshot header, omit for cross-branch facts; on replace an empty list clears the scope, and an omitted list keeps the current scope.", "parameters": { "type": "object", "properties": { "action": { "type": "string", "enum": [ "add", "replace", "remove" ], "description": "add a new entry, replace one uniquely matched entry, or remove one uniquely matched entry." }, "target": { "type": "string", "enum": [ "memory", "user" ], "description": "user for user identity/preferences; memory for compact user-stated rules needed for future work, or an explicitly requested Runtime destination." }, "content": { "type": "string", "description": "Compact entry content. Required for add and replace." }, "old_text": { "type": "string", "description": "Full content of the existing entry, or a unique substring. A unique full-content match takes precedence within the selected target. Required for replace and remove." }, "importance": { "type": "string", "enum": [ "critical", "normal", "low" ], "description": "critical for explicit must/always/never rules; low for lower-priority eligible durable entries; normal by default. Importance does not make transient facts eligible." }, "branches": { "type": "array", "items": { "type": "string" }, "description": "Optional git branch names restricting where a target=memory entry is injected. Omit for cross-branch facts; on replace an empty list clears the scope and an omitted list keeps it. For target=user, omit or pass []; non-empty branches are rejected." } }, "required": [ "action", "target" ] }, "output": { "type": "object", "additionalProperties": true } }, { "name": "mnemon_remember", "description": "Archive one durable insight in a selected provider-backed Memory Space. Ordinary new hot memory belongs in mnemon_runtime_memory; use direct archival only for explicit long-term persistence or runtime capacity migration. Choose the narrowest existing space, search it first, verify capabilities.remember=true, and wait for the provider receipt. Exact writes require confirmed persistence; providers using semantic extraction may truthfully return skipped. Do not dump transcripts, temporary progress, routine observations, or repository-obvious facts.", "parameters": { "type": "object", "properties": { "content": { "type": "string", "description": "One concise, self-contained durable insight." }, "category": { "type": "string", "enum": [ "preference", "decision", "fact", "insight", "context", "general" ] }, "importance": { "type": "integer", "description": "Durable value from 1 through 5." }, "tags": { "type": "array", "items": { "type": "string" }, "description": "At most 20 concise tags." }, "entities": { "type": "array", "items": { "type": "string" }, "description": "At most 50 named entities." }, "source": { "type": "string", "enum": [ "user", "agent", "external" ], "description": "Defaults to agent for model-authored writeback." }, "memoryBodyId": { "type": "string", "description": "Target Memory Space id; the write goes there or nowhere. Name a switched-off space only when the user wants it back, after switching it on with mnemon_memory_body_update. Required unless exactly one space is active." } }, "required": [ "content" ] }, "output": { "type": "object", "additionalProperties": true } }, { "name": "mnemon_link", "description": "Create a typed, bidirectional relation between two known insights in one Memory Space. Use only when its provider reports capabilities.link=true (currently Mnemon Native), the relation improves future recall, and both ids were verified through recall or graph traversal.", "parameters": { "type": "object", "properties": { "sourceId": { "type": "string" }, "targetId": { "type": "string" }, "type": { "type": "string", "enum": [ "temporal", "semantic", "causal", "entity" ] }, "weight": { "type": "number", "description": "Relationship confidence from 0 through 1." }, "reason": { "type": "string" }, "memoryBodyId": { "type": "string", "description": "Body containing both insight ids." } }, "required": [ "sourceId", "targetId" ] }, "output": { "type": "object", "additionalProperties": true } }, { "name": "mnemon_forget", "description": "Forget one insight by exact id only when its provider reports capabilities.forget=true (currently Mnemon Native soft-delete). This is a destructive semantic operation; use only when the user explicitly asks or the insight is verified obsolete or incorrect.", "parameters": { "type": "object", "properties": { "id": { "type": "string" }, "memoryBodyId": { "type": "string", "description": "Body containing the insight id." } }, "required": [ "id" ] }, "output": { "type": "object", "additionalProperties": true } }, { "name": "mnemon_memory_body_create", "description": "Create a new isolated Memory Space under the user-configured persistence strategy. First inspect mnemon_memory_bodies.persistenceStrategy. In manual mode the host fixes the Provider. In automatic mode select only an eligible configured Provider from that policy and supply a concise reason and confidence; the host validates every hard rule and injects saved connection settings. Never invent credentials or endpoints. Use only for a distinct recurring durable scope, then write the qualifying insight with mnemon_remember, which activates it.", "parameters": { "type": "object", "properties": { "name": { "type": "string", "description": "Topic-specific human-readable name that remains meaningful in the directory." }, "description": { "type": "string", "description": "Precise routing boundary: what durable knowledge belongs here and when it should be recalled." }, "providerId": { "type": "string", "description": "Automatic mode only: one eligible Provider id from persistenceStrategy." }, "reason": { "type": "string", "description": "Automatic mode only: concise user-facing reason for this Provider choice." }, "confidence": { "type": "string", "enum": [ "high", "medium", "low" ], "description": "Automatic mode only: calibrated confidence in the Provider choice." } }, "required": [ "name", "description" ] }, "output": { "type": "object", "additionalProperties": true } }, { "name": "mnemon_memory_body_update", "description": "Update a Memory Space name, routing description, or activation state. Activation controls reads only. Use conservatively; prefer the user-facing toggle for ordinary manual activation changes.", "parameters": { "type": "object", "properties": { "memoryBodyId": { "type": "string" }, "name": { "type": "string" }, "description": { "type": "string" }, "active": { "type": "boolean" } }, "required": [ "memoryBodyId" ] }, "output": { "type": "object", "additionalProperties": true } }, { "name": "mnemon_memory_body_merge", "description": "Non-destructively merge complete Mnemon Native source Memory Spaces into one Mnemon Native target through import, preserving durable nodes and typed graph edges. External providers are not mergeable. Use only after confirming substantial scope overlap or when the user requests consolidation. Source databases are retained and merely deactivated by default.", "parameters": { "type": "object", "properties": { "targetMemoryBodyId": { "type": "string" }, "sourceMemoryBodyIds": { "type": "array", "items": { "type": "string" }, "description": "One through 20 source Memory Space ids." }, "deactivateSources": { "type": "boolean", "description": "Defaults to true. Never deletes source databases." } }, "required": [ "targetMemoryBodyId", "sourceMemoryBodyIds" ] }, "output": { "type": "object", "additionalProperties": true } } ]