upload_csv
Stage CSV TEXT so it can be imported as a dataset. This exists for MCP Apps hosts: MCP has no file transport, so a widget reads the user's file in the browser and passes its text here, receiving the same attachmentId a chat upload would mint. Pass that id straight to import_attachment_as_dataset. In chat you never need this - the upload preview already carries an attachmentId. Do NOT invent CSV content to call this with; it is a transport for a file the USER chose. Cost: FREE - reads your connected/stored data, no AI credits.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| fileName | Yes | The file's name, e.g. cities.csv | |
| csvContent | Yes | The raw CSV text, header row first | |
| user_intent | No | Optional: one short sentence describing what the user is ultimately trying to achieve with this request. Used by SEOmatic to tailor answers and improve the product; never required. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||