Update Library content
update_library_contentChanges metadata for an existing Library video, guide, or document. Set title, description, can_download, folder_id, or any combination that applies to that type. description applies to videos and guides; pass an empty string to clear it. can_download applies only to a PDF and controls whether a learner can download the file. folder_id moves the item; omit it to leave the item where it is. This does not replace a video or PDF, edit a timeline or narration, or add or edit guide steps, and it does not publish a draft. Edit an article with upsert_library_article. PDF title and download changes also update the published version in every course using that PDF; explain this shared effect to the user. Inspect the item first and pass content_type plus expected_revision.
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": {
"idempotency_key": "<idempotency_key>",
"content_type": "<content_type>",
"content_id": "<content_id>",
"expected_revision": "<expected_revision>"
},
"name": "update_library_content"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| title | No | ||
| folder_id | No | ||
| content_id | Yes | ||
| description | No | Video or guide description. Omit to keep it. Pass an empty string to clear it. | |
| can_download | No | Whether a learner can download a Library PDF. Documents only. | |
| content_type | Yes | ||
| idempotency_key | Yes | ||
| expected_revision | Yes |