aethis_validate_fields
Validate discovered fields against an expected specification. Returns a structured diff of missing fields, type or enum mismatches to verify field coverage before writing test cases.
Instructions
Assert that the discovered fields match an expected field specification. Returns a structured diff: missing fields, type mismatches, enum value mismatches, and extra fields. all_match=true only when there are no missing fields and no type or enum mismatches. Extra discovered fields do not affect all_match. Run after aethis_discover_fields to verify field coverage before writing test cases. If all_match=false, call aethis_refine_fields with guidance about the missing or incorrect fields.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| project_id | Yes | The project ID | |
| expected_fields | Yes | The fields you expect to find in the discovered field set |