Take knowledge base media out of the library's trash
colliedesk_kb_media_undeleteTake up to 100 items out of the library's trash by id, or every item of a batch_id from colliedesk_kb_media_trash (its Undo). Each id answers restored, not_in_trash or not_found.
Needs: kb_media:delete.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "colliedesk_kb_media_undelete"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| batch_id | No | ||
| media_ids | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| results | No |