Download the data as files
download_dataThe project's data as files, for a user who asks for the files, a CSV
or Excel export, seeds for dbt, or data to load into a database: a link
that downloads every table as CSV, for the user to open. Nothing is
downloaded by this call. For a few rows to paste, preview_data with
table and show_rows is enough.
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>"
},
"name": "download_data"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| project_id | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |