media_bulk_restore
Restores the originals of every optimized attachment by running one restore job per file, replacing all optimized files. Requires confirm: true; backups already cleaned up cannot be restored.
Instructions
Restore the originals of EVERY optimized attachment (one restore job each), replacing all optimized files. Large and slow; attachments whose backup was cleaned up cannot be restored. Needs confirm: true, otherwise the site refuses with 400.
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": {
"site": "<site>"
},
"name": "media_bulk_restore"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| site | Yes | Site id (see list_sites) | |
| confirm | No | Must be true for the action to run; anything else makes the site refuse it with 400 |