Restore library asset
restore_assetRestore a deleted library asset by its asset ID to return it to the library. Supply IDs from deletion or deleted-item listings; active assets stay unchanged.
Instructions
Bring one of your deleted library items back (the id from delete_asset or list_deleted); restoring an item that is not deleted changes nothing. It does not become a default again. Returns { ok }.
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": {
"assetId": "<assetId>"
},
"name": "restore_asset"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| assetId | Yes | Library asset id (from delete_asset) |