Restore Item
restore_itemRestores items from the Trash back into the library. Takes the item ids of delete_item or list_trash (at most 50 per call). Every id is reported: restored (it was in the Trash and is back), already_active (it was never trashed) or not_found (it does not exist: it belongs to somebody else or it was purged for good).
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": {
"item_ids": "<item_ids>"
},
"name": "restore_item"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| item_ids | Yes | The trashed item ids to restore (at most 50). |