Edit a draft
content_update[writes flayr data · write scope] Edits a draft in place; only the fields you pass change. Any media field replaces the draft's media as a set; the id stays. Refused (409) for archived or already-published items, and a media swap is refused once a queue booked it. labels, opus, videoWatermarked, library, aiGenerated and youtubeAbTestResult may be changed on published items too. Carousel: one of imageStorageIds (uploads), images (URLs) or imageContentIds (Library ids), 2-20 each, with no other media field. library: { title, description } is the Library name and description. More optional arguments, not listed: credits, youtube, platforms, thumbnailFrameOffsetMs, thumbnailUrl, altText, text, videoUrl, imageUrl, thumbnailStorageId, videoStorageId, imageStorageId. Full description and schema: describe_tool {"name":"content_update"}.
(Wraps PATCH /api/v2/content/{id}.)
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": {
"id": "<id>"
},
"name": "content_update"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | e.g. "id_123". | |
| opus | No | e.g. {"clipId":"clipId_123"}. Fields: projectId, clipId. | |
| title | No | e.g. "Summer collection". | |
| images | No | e.g. ["https://example.com","https://example.com"]. | |
| labels | No | e.g. ["campaign:summer"]. | |
| library | No | e.g. {"title":"Summer collection"}. Fields: title, description. | |
| aiGenerated | No | e.g. false. | |
| platformText | No | e.g. {}. | |
| imageContentIds | No | e.g. ["Example","Example"]. | |
| imageStorageIds | No | e.g. ["Example","Example"]. | |
| videoWatermarked | No | e.g. {"version":1}. Fields: version, at. | |
| youtubeAbTestResult | No | e.g. {"outcome":"winner"}. Fields: outcome, winner. | |
| requiresOwnerApproval | No | e.g. false. |