aui_generate_ui
Transform raw JSON arrays, CSV, SQL query rows, or a public webpage URL into an interactive, XSS-isolated AUI iframe (embed_url) in <50ms. Supports 4 specialized engines: 'dt' (Signature 2-Line DataTables with avatars, foldable child drawers, facet pills & CSV export), 'cg' (Apache ECharts bar/line/pie/radar/scatter), 'tl' (Omni-Time V3 60fps Spatial Timeline + 32% Synced Side Fold List), and 'dp' (DayPilot 2D Resource x Time Scheduler Tape). Works immediately with zero API key (deterministic sandbox) or with an AUI trial/production key.
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": "aui_generate_ui"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | No | Optional public URL to scrape and visualize if data is omitted. | |
| data | No | JSON array, object, or CSV string of records/events to visualize. | |
| theme | No | Color theme for the embedded widget. | dark |
| prompt | No | Natural-language visualization goal or title instruction. | |
| actions | No | Optional cross-domain postMessage action buttons (e.g. [{action_name:'openRecord', id_column:'id', label:'Inspect'}]). | |
| ui_type | No | Target AUI engine ('auto' inspects payload shape automatically). | auto |
| chart_type | No | Preferred chart subtype when ui_type is 'cg'. | auto |
| aui_api_key | No | Optional AUI trial-... or paid key (can also be sent via Authorization: Bearer header). | |
| gemini_api_key | No | Optional BYOK Gemini key when using an unbacked trial key. |