Export List File
export_list_fileGet a private download link for a COMPLETE list as a CSV, JSON or JSONL file (up to 100,000 contacts). Prefer this when the user wants a file. Dievio streams every page automatically, with no extra credits. Optional columns support nested lead_data fields. Link expires within 15 minutes and is revoked with agent/team access. Give the user the returned link or download it using your file tools.
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": {
"list_id": "<list_id>",
"format": "<format>"
},
"name": "export_list_file"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| format | Yes | csv | |
| columns | No | Optional ordered columns. Supports lead_data.company_website or other nested paths. Omit to preserve all fields; CSV includes the complete lead_data JSON column. | |
| list_id | Yes |