export-project
Export a Todoist project as CSV content or a public download link to duplicate, share, or import its structure, with optional relative due dates.
Instructions
Export a project as CSV, like the app's "Export as CSV": as CSV content, or as a download link. To save a project as a template in the user's Todoist, use add-template instead. Use it to duplicate a project, share its structure, or hand the CSV to import-into-project. To read a project rather than export it, use find-tasks instead — it returns structured tasks rather than raw CSV. The project itself is not modified, but the "url" format uploads a copy and returns a public, permanent link that anyone holding it can open.
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": {
"projectId": "<projectId>"
},
"name": "export-project"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| format | No | How to return the CSV. "file" returns the CSV content, which can be passed straight back to import-into-project. "url" uploads it and returns a download link instead, so the CSV of a large project is not returned in full. The link is public, permanent and cannot be revoked: anyone holding it can open it, so only use it when the user asks for a link. | file |
| projectId | Yes | The ID of the project to export as CSV. | |
| useRelativeDates | No | Export due dates relative to the import date (e.g. "day 3") instead of absolute dates. Defaults to false. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| format | Yes | The format the template was exported in. | |
| content | No | The project as CSV. Only present when format is "file". | |
| fileUrl | No | The shareable download URL. Only present when format is "url". | |
| fileName | No | The generated file name. Only present when format is "url". | |
| lineCount | No | Number of rows in the exported CSV. Only present when format is "file". |