reinvent_validate_toml
Validate REINVENT4 TOML configs before launch. Get detailed errors, warnings, and a config summary to avoid runtime failures.
Instructions
Validate a REINVENT4 TOML config before launch.
Attempts validation via 'reinvent --validate' (preferred) or via REINVENT4's Pydantic ReinventConfig model.
Args: toml_path_or_content: Path to config.toml or TOML content as string is_string: If True, treat input as TOML content
Returns: { "valid": bool, "errors": [{"field": str, "message": str}, ...], "warnings": [str, ...], "config_summary": dict (if valid) }
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| is_string | No | ||
| toml_path_or_content | Yes |