Revert a media asset
revert_mediaRestore a prior asset version to fix mistakes; the current version is archived so you can undo the rollback.
Instructions
Restore a prior version of an asset as the current one. The current copy is archived first, so the revert is itself undoable. Use get_media to find the version 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": {
"project": "<project>",
"name": "<name>",
"version": "<version>"
},
"name": "revert_media"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | ||
| project | Yes | ||
| version | Yes | Version id to restore (from get_media's versions list). |