Context Packets & XML
Instead of dumping loose text into prompt history, Memron structures memory into verified <memory_context> XML blocks with confidence scores and contradiction warnings.
Context Packet Tools
| Tool Name | Parameters | Purpose |
|---|---|---|
context_build | query (str), tokenBudget? (num) | Retrieves and ranks memories within a specified token budget. |
context_packet | query (str), taskType? (str) | Builds a multi-signal anti-hallucination context packet. |
context_packet_format | packetId (str) | Serializes the context packet into standardized <memory_context> XML. |
context_packet_get | packetId (str) | Fetches an existing context packet record by ID. |