Export a memory to Markdown
ygg_materializeExport a stored memory as a Markdown note for reading, editing, or archiving. Provide the memory id and project; returns the file path.
Instructions
Write ONE stored memory to a human-readable Markdown note (Obsidian-compatible) on disk; the stored memory itself is unchanged. Use when the user wants to read, edit, or archive a specific memory as a file. Needs the memory id from a prior ygg_recall / ygg_search / ygg_bootstrap result plus its project; returns the written file path.
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": {
"id": "<id>",
"project": "<project>"
},
"name": "ygg_materialize"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | The memory id to export, as returned by a prior recall/search/bootstrap, e.g. "ygg_4a5c82a...". | |
| project | Yes | The project the memory belongs to. | |
| output_dir | No | Directory to write the Markdown note into (default "vault/04-learnings"). Must stay inside the local vault root; paths escaping it are rejected. | vault/04-learnings |