Edit a video's details
update_videoChange a catalog video's title, description, link, or rating while keeping fields you omit unchanged. Pass empty strings to clear a description or link; requires an Editor API key.
Instructions
Change a video's title, description, link or rating. Only the fields you pass are changed; leave a field out to keep it. Pass an empty string to clear the description or the link. The new text replaces the old, so to add to a description read it with get_video first and pass the whole text. Returns the video as it is after the change. Needs an API key with the Editor role.
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": {
"videoId": "<videoId>"
},
"name": "update_video"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| link | No | New link, e.g. a web page about the video. An empty string clears it. | |
| title | No | New title. Cannot be empty. | |
| rating | No | New rating, 0 to 5. 0 removes the rating. | |
| videoId | Yes | The video's catalog id. | |
| description | No | New description. An empty string clears it. |