rollback_migration
Delete target records created by a migration identified by correlation prefix, with a two-phase process: preview count before confirming deletion.
Instructions
Deletes target records that were created by a migration, identified by correlation_id prefix (e.g. "jira:" or "salesforce:"). Two-phase: first call with confirm=false to see the count, then confirm=true to delete.
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": {
"sn_table": "<sn_table>",
"correlation_prefix": "<correlation_prefix>"
},
"name": "rollback_migration"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| sn_table | Yes | ||
| correlation_prefix | Yes | e.g. "jira:" or "salesforce:" | |
| confirm | No |