Restore a card from a backup
restore_cardRestore a Yoto card to an earlier backup, including tracks, icons, cover, and details. The current version is backed up first, so the change can be undone.
Instructions
Put a card back the way it was in a backup from list_backups (tracks, icons, cover, details). The current version is backed up first, so this can be undone too. A card that was deleted comes back as a new card with a new ID. Asks the parent to confirm.
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": {
"card_id": "<card_id>",
"backup_id": "<backup_id>"
},
"name": "restore_card"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| card_id | Yes | The card ID from list_cards (5 characters, e.g. "a1B2c"). | |
| confirm | No | Only set true after the parent explicitly agreed in this conversation. | |
| backup_id | Yes |