validate_spec
Validate Vega-Lite JSON specifications to identify and correct errors before visualization generation.
Instructions
Validate a Vega-Lite specification and check for errors
Input Schema
Name | Required | Description | Default |
---|---|---|---|
spec | Yes | Vega-Lite JSON specification to validate |
Input Schema (JSON Schema)
{
"properties": {
"spec": {
"description": "Vega-Lite JSON specification to validate",
"type": "object"
}
},
"required": [
"spec"
],
"type": "object"
}