getTaskComments
Retrieve comments for a specific Teamwork task. Supports pagination, ordering, and filtering by content, date, or status.
Instructions
Get comments for a specific task from Teamwork
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": {
"taskId": "<taskId>"
},
"name": "getTaskComments"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| taskId | Yes | The ID of the task to retrieve comments for | |
| page | No | Page number for pagination | |
| pageSize | No | Number of items per page | |
| orderBy | No | Order by field | |
| orderMode | No | Order mode | |
| searchTerm | No | Filter by comment content | |
| updatedAfter | No | Filter by updated after date (ISO 8601 format) | |
| commentStatus | No | Filter by comment status |