validate_seed_integrity
Validates seeded MySQL data against a seed plan by checking foreign-key orphans, required columns, unique collisions, and inserted row counts to catch integrity issues.
Instructions
🌱 RELATIONAL SEEDER: Validates seed results with FK orphan checks, required-column checks, unique-collision checks, and inserted row-count checks.
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": {
"plan_id": "<plan_id>"
},
"name": "validate_seed_integrity"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| tables | No | Optional table subset to validate | |
| plan_id | Yes | Seed plan ID returned by plan_seed_data | |
| check_orphans | No | Alias for check_foreign_keys | |
| check_row_counts | No | Check inserted row counts when execution metadata is available (default: true) | |
| check_foreign_keys | No | Check foreign key integrity (default: true) | |
| check_required_columns | No | Check NOT NULL required columns (default: true) | |
| check_unique_collisions | No | Check unique index collisions (default: true) |