Cotlet: export rows as an Excel or CSV file
cotlet_export_fileMakes a file the user downloads from rows you hold (a list collected in the browser, a table you built): Excel (xlsx, the default) or CSV. Answers a download link valid for 15 minutes: give it to the user. Use it when the user asks for a file or a spreadsheet and you cannot make files yourself. Up to 200 columns, 50000 rows and 10 MB. Free, needs no browser. Needs the user's Cotlet API key or sign-in.
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": {
"columns": "<columns>",
"rows": "<rows>"
},
"name": "cotlet_export_file"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | No | File name without extension, e.g. flickr-results. | |
| rows | Yes | One array of cells per row, in the order of `columns`. | |
| format | No | xlsx (default) or csv. | |
| columns | Yes | The header row. |