import_csv_to_iris
Import CSV data into IRIS database by creating a table with column names from the CSV header, all stored as VARCHAR(255).
Instructions
Creates a table and imports data from a CSV string. The first row of the CSV must be the header (column names). All columns will be created as VARCHAR(255) for this blueprint. Args: ctx: The context of the tool call. table_name: The name of the table to import the data into. csv_content: The content of the CSV file to import. table_schema: The schema of the table to import the data into.
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": {
"table_name": "<table_name>",
"csv_content": "<csv_content>"
},
"name": "import_csv_to_iris"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| table_name | Yes | ||
| csv_content | Yes | ||
| table_schema | No | SQLUser |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |