rehearsal_manage
Run and monitor zero-risk migration rehearsals on disposable database copies; start, check status, cancel, summarize runs, and clean up copies to reclaim disk space.
Instructions
Execute and monitor zero-risk migration rehearsals on disposable copies.
Actions:
'start': Rehearse a pipeline on a disposable copy (confirm=false returns plan & disk estimate).
'status': Poll progress of running or completed rehearsal and view risk report.
'cancel': Abort a running rehearsal while preserving the copy for inspection.
'last_run': Summarize latest pipeline run: step progress and frequent Odoo errors.
'drop_copies': Drop expired or named disposable rehearsal copies to reclaim disk space.
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": {
"action": "<action>"
},
"name": "rehearsal_manage"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| action | Yes | ||
| method | No | Clone method | auto |
| source | No | Source database to clone from | |
| confirm | No | false = preview/plan only; true = execute | |
| copy_ids | No | Specific copy IDs to drop | |
| pipeline | No | Pipeline name from policy | |
| plan_hash | No | Fingerprint from confirm=false preview | |
| expired_only | No | Drop only expired copies (default false) | |
| rehearsal_id | No | Rehearsal identifier |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||