generate_rollback
Creates exact undo SQL for database proposals or a restore plan for configuration changes. Accepts a proposal ID or raw SQL with optional connection for schema-aware rollbacks.
Instructions
Produce exact undo SQL (for DB proposals) or a restore plan (for config).
Either pass an existing proposal_id, or pass raw sql (+ optional connection
for better schema-aware rollbacks).
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "generate_rollback"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| proposal_id | No | ||
| sql | No | ||
| connection | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||