Download a dataset
download_datasetFetch a whole version as json, csv or geojson. A file up to the server limit comes back inline. Paid datasets answer payment_required with the price and payment details. This tool never pays; a payment is made only by the caller's own client, if its operator allows it. A file above the server limit comes back as a download address to fetch with an HTTP client.
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": {
"dataset_id": "<dataset_id>"
},
"name": "download_dataset"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| format | No | json, csv or geojson (geojson only with coordinates) | json |
| version | No | A specific version; default is the current one | |
| dataset_id | Yes | Dataset id from search_datasets, for example bg.finance.credit_institutions |