get_rule
Fetch complete rule documentation: what it reports, why it matters, if auto-fixable, and configuration. Call with a violation ID to get the reasoning before rewriting a migration.
Instructions
Get the full documentation for one MigrationPilot rule: what it reports, why it matters, whether it can be auto-fixed, and how to configure it. Call this when a violation ID appears and you need the reasoning behind it before rewriting a migration.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| sql | No | Optional SQL to run this one rule against. When the rule fires, the response carries the exact violation message and the concrete safe alternative for that statement. | |
| ruleId | Yes | Rule ID, e.g. MP001 (case-insensitive) |