Validate Config
validate_configValidate dashboard config by checking JSON structure and SQL syntax, then run every KPI, chart, and table query against the database to confirm results and execution times before rendering.
Instructions
Validate all SQL queries in the current ui_config.json against the database.
This tool checks:
JSON structure validity (required keys, types)
SQL syntax for every KPI, chart, and table query
Executes each query to verify it returns results
Reports execution time for each query
Use this AFTER generate_config() or update_config() to verify the dashboard will render correctly before showing it to the user.
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_config"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |