rlm_memory_attach_source
Attaches structured evidence such as documents, sessions, or PRs to a memory record. Supports legacy memory IDs with migration mapping.
Instructions
Attach structured evidence to a Memory V2 record. Accepts a legacy memory ID if a migration map exists.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| memory_id | Yes | Legacy or V2 memory ID | |
| evidence_type | Yes | Evidence type | |
| document_id | No | Optional document ID | |
| chunk_id | No | Optional chunk ID | |
| external_ref | No | Optional path or URL | |
| snippet | No | Optional supporting excerpt | |
| line_start | No | Optional start line | |
| line_end | No | Optional end line | |
| weight | No | Evidence weight |