list_comments
List comments on a work item with pagination support. Returns items, total, offset, limit, and hasMore flags.
Instructions
List comments on a work item. Returns { items, total, offset, limit, hasMore }.
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": {
"workItemId": "<workItemId>"
},
"name": "list_comments"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | Max items to return (default: 50, max: 200) | |
| offset | No | Skip first N items (default: 0) | |
| projectId | No | The project ID (optional if HACKNPLAN_DEFAULT_PROJECT set) | |
| workItemId | Yes | The work item ID |