verify_dietary_claim
Verify that a recipe satisfies a dietary claim (vegan, halal, gluten-free, ...).
Reuses the existing allergen-detection logic plus a curated forbidden-ingredient map (apps/guardian/knowledge/dietary_claims.yaml). Returns a structured verdict with the specific offending ingredients and a short justification — never a vague paraphrase.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| claim | No | Dietary claim to verify: vegan | vegetarian | gluten_free | dairy_free | nut_free | halal | kosher. | |
| candidate_json | No | Recipe JSON string (CandidateRecipe schema). Expected shape: {"title": "...", "ingredients": [{"name": "..."}, ...], "steps": [...]}. Only the ingredient list is required for dietary verification. | |
| response_format | No | Response format: 'text' (default, human-readable) or 'json' (machine-actionable). | text |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |