Restore media or undo an edit
restore_mediaRestore a filesystem original and saved metadata, or undo a supported favorite, collection-membership, or face-label edit, using an ID from inspect_activity. Refuses to overwrite occupied paths or conflicting metadata. OneDrive and Apple Photos original files must be restored in the provider's recycle bin or Recently Deleted, then synced; this tool does not claim to restore them. Use inspect_activity to find recovery IDs and guidance.
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": {
"recovery_id": "<recovery_id>"
},
"name": "restore_media"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| recovery_id | Yes | ||
| idempotency_key | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| command | Yes |