open_remediation_in_dbeaver
Back up original rows and log an audit entry, then open the transaction-wrapped remediation SQL in DBeaver for human review and COMMIT.
Instructions
MANDATORY BACKUP + AUDIT HANDOFF: First backs up original rows (JSON + INSERT SQL + rollback.sql) to audit-backups/ and appends an audit entry to change-logs/, then opens the transaction-wrapped .sql script directly in DBeaver bound to that connection for human review and COMMIT.
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": "open_remediation_in_dbeaver"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| table | No | ||
| dml_sql | No | ||
| database | No | Target database/schema name on that connection. | |
| connection | No | DBeaver connection name or host (e.g. 'localhost', 'staging-db'). Defaults to default_connection. | |
| script_path | No | ||
| where_clause | No | ||
| issue_summary | No |