Apply Discord Backup Restore
discord_backup_restore_applyApplies role and channel create/update operations from a Discord backup conservatively: creates a pre-restore backup, verifies the plan hash, and requires explicit permission for deletes.
Instructions
Conservatively apply role/channel create/update operations from a backup. Creates a pre-restore backup first, rejects an expectedPlanHash mismatch before mutating, and deletes require includeDeletes: true.
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": {
"backupId": "<backupId>",
"targetGuildId": "<targetGuildId>"
},
"name": "discord_backup_restore_apply"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| reason | No | ||
| confirm | No | ||
| backupId | Yes | ||
| targetGuildId | Yes | ||
| includeDeletes | No | ||
| allowCrossGuild | No | ||
| expectedPlanHash | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ok | Yes | ||
| error | No | ||
| failed | No | ||
| applied | No | ||
| skipped | No | ||
| warnings | No | ||
| targetGuildId | No | ||
| actualPlanHash | No | ||
| sourceBackupId | No | ||
| expectedPlanHash | No | ||
| preRestoreBackupId | No |