restore_project_artifact
Restore an artifact to a previous state by applying a named backup snapshot. Use list_artifact_history to find the exact backup name before restoring.
Instructions
[HISTORY TOOLS] Restores a named backup snapshot of an artifact, replacing the current live file with the backup content. The current live version is NOT automatically backed up before the restore — it will be overwritten.
Use list_artifact_history first to retrieve valid backup_name values for the target path. The backup_name is the exact string returned in the history list. Do NOT guess or construct backup names — always read them from list_artifact_history.
Returns: confirmation string with the restored path and backup_name applied. Raises: 404 if the path or backup_name does not exist.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | Path to artifact | |
| project | Yes | Project name | |
| backup_name | Yes | Backup name |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |