data_export
Export a dataset from the R session to a file. Choose CSV, TSV, Excel, or RDS format based on the destination path or an explicit override.
Instructions
Write a dataset from the session to disk as CSV, TSV, Excel or RDS.
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": {
"data": "<data>",
"path": "<path>"
},
"name": "data_export"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| data | Yes | Dataset name in the session. | |
| path | Yes | Destination path; the format is taken from the extension. | |
| format | No | Override the format: csv, tsv, excel, rds. |