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) }
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": {
"toml_path_or_content": "<toml_path_or_content>"
},
"name": "reinvent_validate_toml"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| is_string | No | ||
| toml_path_or_content | Yes |