upload_data
Upload CSV data to a CAS table in SAS Viya. Specify the CAS server, caslib, table name, and CSV content to create a new table.
Instructions
Upload CSV data into a CAS table.
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": {
"server_id": "<server_id>",
"caslib_name": "<caslib_name>",
"table_name": "<table_name>",
"csv_data": "<csv_data>"
},
"name": "upload_data"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| csv_data | Yes | CSV-formatted data string (including header row). | |
| server_id | Yes | CAS server name or ID. | |
| table_name | Yes | Name for the new table. | |
| caslib_name | Yes | Target caslib name. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||