Undo a replacement of an image, video or file
colliedesk_kb_media_replace_undoPut the replaced item back in the articles a replacement changed, where they still show its replacement, as new versions; a file replaced in place gets its earlier bytes back. Undoing twice changes nothing more; it is refused when the replaced item was deleted for good.
Needs: kb_media:update.
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": {
"replacement_id": "<replacement_id>"
},
"name": "colliedesk_kb_media_replace_undo"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| replacement_id | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| undone | Yes | ||
| in_place | No | ||
| article_ids | Yes | ||
| to_media_id | Yes | ||
| translations | No | ||
| from_media_id | Yes | ||
| replacement_id | Yes |