Refine a library submission
refine_library_itemRefine a library submission in review by requesting changes in plain words, preview proposed metadata and checks, then save the exact preview to apply it.
Instructions
For administrators: change a library submission in review by asking in plain words; preview the change, then keep it.
Refine by chat. For administrators: ask for a change to an item in review in plain words ("rename it to Weekly retro", "put it in Meetings", "Write a clearer one-line summary", "What should I check?"). Preview answers the proposal (metadata from and to, rule lines for a component's board, things to check) and its previewId; save with that previewId keeps exactly it, on the item and on the review copy. Simple renames, categories and summaries are read without AI.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"itemId": "<itemId>",
"message": "<message>"
},
"name": "refine_library_item"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| mode | No | save (the default) writes; preview returns what would change and saves nothing. The response says which happened. | save |
| itemId | Yes | The item: its id or its slug (library.list items[].id or .slug). | |
| confirm | No | The confirmation id from a confirmation_required result, once the person agreed. | |
| history | No | ||
| message | Yes | ||
| previewId | No | Save: the previewId a preview answered. Keeps exactly that proposal (no second AI answer). | |
| selfReview | No | Review your own submission. Allowed only on a server with one administrator; the thread records it. | |
| idempotencyKey | No | Send with confirm: the idempotencyKey from the confirmation_required result. |