lore_review_suggestion
Process suggestions in batch to accept or reject link proposals, creating memory links for accepted ones while maintaining an audit trail.
Instructions
Accept or reject one or more link suggestions in a single call.
Processes each suggestion independently — a failure on one does not block the rest. Suggestion rows are never deleted; status is updated to 'accepted' or 'rejected' for audit trail.
On accept: creates a real memory_links row using the suggestion's
suggested_type (falls back to 'references' if None or unrecognised).
On reject: marks the suggestion as rejected. Future sweeps skip this pair.
Idempotent per item: double-accept and double-reject both return
status='skipped' with an explanatory message.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| action | Yes | Either ``'accept'`` or ``'reject'``. | |
| suggestion_ids | Yes | List of suggestion UUIDs to process (one or many). |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||