revert_code_package
Roll back a code package to a prior version by providing the code name and version number. Use dry-run mode to preview changes and confirm writes to avoid unintended modifications.
Instructions
Revert a code package to a prior 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": {
"code_name": "<code_name>",
"version": "<version>"
},
"name": "revert_code_package"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| dry_run | No | ||
| version | Yes | ||
| code_name | Yes | ||
| owner_name | No | admin | |
| confirm_write | No | ||
| database_name | No | faircom |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |