library_desk_refresh
Refresh a session's reading desk with books relevant to the current subject, returning prompt-ready context and swapped-in, swapped-out, and retained book IDs.
Instructions
Replace a session's bounded reading desk with books relevant to the current subject. Returns the prompt-ready context plus swapped-in, swapped-out, and retained IDs.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| subject | Yes | ||
| keep_open | No | Book IDs that must be considered first for the desk. | |
| max_books | No | ||
| collection | No | Optional library collection/namespace; defaults to the configured collection. | |
| session_id | No | codex | |
| token_budget | No | ||
| catalog_filters | No | JSON catalog metadata or exact-match catalog filters. |