memory_store_document
Store markdown documents as a unified memory with searchable fragments, enabling retrieval of both the full document and individual typed pieces like claims or risks.
Instructions
Store a structured document as a root memory + searchable fragments.
Parses markdown into typed fragments (claims, plan items, references, risks, section chunks) that are individually searchable while the full document remains retrievable as a unit.
Args: content: Full markdown document content document_key: Stable identifier (e.g. "research/memora-enhancements-2026-04-08") version: Document version (default: 1). If >1, supersedes previous version. tags: Tags applied to root and fragments metadata: Additional metadata merged into root and fragments skip_fragment_crossrefs: If True, fragments skip crossref computation (default: True)
Returns: {document_key, root_id, fragment_count, node_map: {node_kind: [ids]}}
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| content | Yes | ||
| document_key | Yes | ||
| version | No | ||
| tags | No | ||
| metadata | No | ||
| skip_fragment_crossrefs | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |