validate_recipe
Check Snowfakery recipe syntax and structure for errors. Validate YAML or file-based recipes before data generation.
Instructions
Validate a Snowfakery recipe without generating data.
Checks recipe syntax and structure. Returns validation errors if any. Use either recipe_path (file on disk) or recipe_text (inline YAML).
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "validate_recipe"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| options | No | User options to pass to the recipe | |
| recipe_path | No | Path to a recipe file (relative to workspace root) | |
| recipe_text | No | Recipe YAML content as a string | |
| strict_mode | No | If True, fail on undefined field references | |
| plugin_options | No | Plugin-specific options | |
| schema_validate | No | Reserved for future JSON schema validation |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| valid | Yes | ||
| errors | Yes |