art.asset.rollback
Restore an asset to a specified previous version, ensuring the canonical state aligns with the desired target. Validates the expected current version before applying the change to prevent conflicts.
Instructions
Rollback the canonical version to a previous version.
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": {
"asset_id": "<asset_id>",
"target_version": "<target_version>",
"expected_current_version": "<expected_current_version>",
"actor": "<actor>"
},
"name": "art.asset.rollback"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| actor | Yes | Actor performing rollback | |
| asset_id | Yes | Asset identifier | |
| target_version | Yes | Version to rollback to | |
| expected_current_version | Yes | Expected current version (optimistic lock) |