create_comment
Adds a comment to a Todoist task or project by ID, with optional file attachment support.
Instructions
Create a new comment on a task or project. Must provide either task_id or project_id. Can optionally include file attachments.
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": {
"content": "<content>"
},
"name": "create_comment"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| content | Yes | The comment text content (required) | |
| task_id | No | Add comment to this task ID | |
| attachment | No | Optional file attachment | |
| project_id | No | Add comment to this project ID |