Upload Csv
upload_csvLoad CSV or Excel files into a named DuckDB table for AgentUI Dash dashboards, letting an agent choose the target table before analysis.
Instructions
Upload a CSV/Excel file to the dashboard database.
The file will be ingested into a DuckDB table with the given name. The MCP agent decides the table name — no auto-classification.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"file_path": "<file_path>"
},
"name": "upload_csv"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| file_path | Yes | Absolute path to the CSV/Excel file on disk. | |
| table_name | No | Target table name in DuckDB (default: "data"). | data |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |