guard_rag_restore
Restore token placeholders in retrieved vector search results or chunks with authentic session data from RAM before presenting results to the user.
Instructions
Zero-Trust Agentic Guard: Re-hydrates retrieved vector search results or chunks by restoring token placeholders with authentic data from the volatile RAM session before presenting to the user.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| results | Yes | Array of retrieved search result objects ({ id?: string, text?: string, pageContent?: string, score?: number, metadata?: object }) or strings containing tokens to restore. | |
| session_id | No | Optional session ID for isolated multi-task agent memory. Defaults to 'default'. |