find-comments
Retrieve comments from Todoist by task, project, or specific comment ID. Provide exactly one identifier to get the relevant comments.
Instructions
Find comments by task, project, or get a specific comment by ID. Exactly one of taskId, projectId, or commentId must be provided.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "find-comments"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | Maximum number of comments to return | |
| cursor | No | Pagination cursor for retrieving more results. | |
| taskId | No | Find comments for a specific task. | |
| commentId | No | Get a specific comment by ID. | |
| projectId | No | Find comments for a specific project. Project ID should be an ID string, or the text "inbox", for inbox tasks. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| hasMore | Yes | ||
| comments | Yes | The found comments. | |
| searchId | Yes | The ID that was searched for (comment, task, or project ID). | |
| nextCursor | No | ||
| searchType | Yes | The type of search performed: "single" (comment ID), "task" (task ID), or "project" (project ID). | |
| totalCount | Yes | The total number of comments in this page. |