validate_dashboard_config
Validates a complete Vizro dashboard configuration. Returns validation status, dashboard details, and Python code. Optionally opens a PyCafe link for remote dashboards.
Instructions
Validate Vizro model configuration. Run ALWAYS when you have a complete dashboard configuration.
If successful, the tool will return the python code and, if it is a remote file, the py.cafe link to the chart.
The PyCafe link will be automatically opened in your default browser if auto_open is True.
Returns:
ValidationResults object with status and dashboard detailsInput Schema
| Name | Required | Description | Default |
|---|---|---|---|
| dashboard_config | Yes | Either a JSON string or a dictionary representing a Vizro dashboard model configuration | |
| data_infos | Yes | List of DFMetaData objects containing information about the data files | |
| custom_charts | Yes | List of ChartPlan objects containing information about the custom charts in the dashboard | |
| auto_open | No | Whether to automatically open the PyCafe link in a browser |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| valid | Yes | ||
| message | Yes | ||
| python_code | Yes | ||
| pycafe_url | Yes | ||
| browser_opened | Yes |