upload_data
Uploads a local responses file (CSV long format or Sawtooth .CHO for CBC) with an optional CBC design JSON, then returns the dataset ID and validation report so errors can be fixed before fitting.
Instructions
Upload a responses file from the local disk (CSV in the module's long format, or a Sawtooth .CHO for CBC; see api_reference for formats). Optional design JSON for CBC. Returns the dataset: its id, the validation report (errors must be fixed before fitting; read warnings) and, for CBC, the design (check design_inferred).
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": {
"project_id": "<project_id>",
"responses_path": "<responses_path>"
},
"name": "upload_data"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| project_id | Yes | ||
| design_path | No | ||
| responses_path | Yes |