Choose who sees a library item
library_set_audienceSet a library item's audience to private, team, or public so you control who sees and can use it.
Instructions
Keep a library item to yourself, share it with your team, or send it for review to share it with everyone. The person agrees first.
Choose who sees a library item. Who sees one of your library items: private (only you), team (everyone in your team, at once and without review: the same trust as sharing a project; it needs a team, and the team's admins can take it back), or public (sent for review as library.submit; once approved anyone can find, use and change it, under CC BY 4.0). Any kind but integration. A team admin may set private on an item shared with their team.
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>",
"audience": "<audience>"
},
"name": "library_set_audience"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| note | No | public only: a note for the reviewer. | |
| 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. | |
| audience | Yes | Who sees it: private (only you), team (your team, at once, no review), or public (sent for review; everyone once approved). | |
| idempotencyKey | No | Send with confirm: the idempotencyKey from the confirmation_required result. |