memory_store_document
Store markdown documents as root memories with searchable typed fragments, keeping the full document retrievable while enabling precise retrieval across sessions.
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]}}
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"content": "<content>",
"document_key": "<document_key>"
},
"name": "memory_store_document"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| tags | No | ||
| content | Yes | ||
| version | No | ||
| metadata | No | ||
| document_key | Yes | ||
| skip_fragment_crossrefs | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |