Generate Config
generate_configCreates a complete UI configuration from loaded data by detecting column roles and generating column mappings, global filters, KPIs, charts, tables, and SQL queries.
Instructions
Auto-generate the UI configuration based on loaded data.
Analyzes the first 100 rows of ALL loaded tables, detects column roles using synonym matching, and generates a complete ui_config.json with:
column_mapping (role → physical column)
filtros_globales (filter definitions)
modulos (KPIs, charts, tables with SQL queries)
The table name(s) discovered from the database are used in all generated SQL.
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": "generate_config"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |