memory_claude_bridge_sync
Read from or write to Claude Code's MEMORY.md bridge to sync agent memory. Read parses the file; write overwrites it with current memories.
Instructions
Exchange data with the configured Claude Code MEMORY.md bridge. direction='read' reads and parses the file, storing a last-read snapshot and audit entry; it does not create durable memories. direction='write' overwrites MEMORY.md with visible latest memories under the configured line budget and returns its path and line count. Requires an enabled bridge and configured file path. Use memory_export for a complete JSON backup.
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": {
"direction": "<direction>"
},
"name": "memory_claude_bridge_sync"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| direction | Yes | 'read' to import from MEMORY.md, 'write' to export to MEMORY.md |