import-into-project
Import a template or CSV content into an existing project to add its tasks, sections, and comments alongside existing items. Use it to populate a named project without creating a new one.
Instructions
Import a template (by ID or URL) or CSV content into an existing project, like the app's "Import from CSV", adding its tasks, sections and comments to whatever is already there. To start a new project from a template, use add-projects with templateId instead. This writes immediately and cannot be undone, so only run it against a project the user named.
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": "import-into-project"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| locale | No | Locale for a template's content. Defaults to "en". | |
| projectId | Yes | The ID of the existing project to import into. | |
| templateId | No | The template to import — either a gallery slug ("product-launch"), a personal template ID ("UT_28Ex..."), or a full Todoist template URL, which is reduced to the ID automatically. Gallery templates work for anyone; personal templates only for the account that owns them. Find one with find-templates. Not with `csvFileContent`. | |
| csvFileContent | No | CSV content to import, e.g. from export-project or a file the user shared. Not with `templateId`. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| tasks | Yes | Tasks created by the import. | |
| comments | Yes | Comments created by the import. | |
| sections | Yes | Sections created by the import. | |
| totalCount | Yes | The total number of objects created by the import. |