cos_retrieval_cite
Signal which retrieval results the agent actually used, so priority learning weights them higher. Cite retrievals after reading or applying chunks to improve future relevance.
Instructions
Mark retrieval rows as actively cited by the agent.
Call this after using one or more chunks/patterns/tasks in a meaningful way (read them carefully, applied them). Cited retrievals get ~4× the weight when priority-learning runs, so the signal is only useful if it reflects actual use — do NOT cite passive retrievals.
Args:
retrieval_ids: Comma-separated list of retrieval ids (int), returned
as retrieval_ids in prior cos_search / cos_doc_search /
cos_task_search responses. e.g. "12,17,24".
Returns:
JSON with {updated, unknown} — updated count + list of ids that
did not exist.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| retrieval_ids | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |