Prepare a file
prepare_list_filePrepare the CSV file (every column) or the Excel file (the columns you choose) of a ready list. Then call get_list_file until the file is ready. A file stays available 7 days.
Free. idempotencyKey (a new UUID v4) is required; reuse it only to retry the very same call.
Same call as POST /api/v1/lists/{id}/files of the REST API.
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": {
"listId": "<listId>",
"format": "<format>",
"idempotencyKey": "<idempotencyKey>"
},
"name": "prepare_list_file"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| format | Yes | ||
| listId | Yes | Id of a list of the account (from create_list or list_lists). | |
| columns | No | xlsx only: column keys (see GET /lists/{id}/items, "columns"). A CSV always holds every column. | |
| idempotencyKey | Yes | A new UUID v4 for this operation (sent as the Idempotency-Key of the API). Reuse it only to retry the very same call: the saved result comes back, nothing is charged twice. |