Download a dataset to a file
download_datasetSave a complete ContexteTech dataset to a local file for fine-tuning or evaluation in JSONL, OpenAI messages, ShareGPT, Alpaca, or CSV, without overwriting existing files.
Instructions
Save a whole ContexteTech dataset to a local file, ready for fine-tuning or evaluation. Formats: jsonl (original), messages (OpenAI chat), sharegpt, alpaca, csv. Never overwrites an existing file.
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": {
"code": "<code>"
},
"name": "download_dataset"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| code | Yes | Short code or author/name of the dataset; 'code#v2' for a fixed version | |
| path | No | File or folder to write to (default: current folder, file named after the dataset) | |
| format | No | File format (default: jsonl) |