restore_backup
Restore a backup into a Discord server — rebuilds channels, categories, roles, and permissions (and messages/bans if the backup included them). This does not automatically restore members' assigned roles unless the bot's role is above the roles being assigned and members are still in the server; VaultCord restores the role objects themselves regardless. Requires confirm:true, otherwise returns a dry-run notice.
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": {
"server": "<server>",
"backup_key": "<backup_key>"
},
"name": "restore_backup"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| flags | No | Bitmask controlling what to restore (messages/emojis/bans); omit to use the backup's own contents | |
| server | Yes | Server name or id to restore INTO (see list_servers) | |
| confirm | No | ||
| backup_key | Yes | The backup's key/id (from list_backups) |