add_comments
Add comments to work items in HacknPlan projects. Supports single or batch addition with per-item error reporting.
Instructions
Add one or more comments to work items (array-based). Single-item and batch calls use the same interface. Returns unified response with items array, counts, and per-item errors.
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": {
"comments": "<comments>"
},
"name": "add_comments"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| comments | Yes | Array of comments to add (1-100 items) | |
| projectId | No | The project ID (optional if HACKNPLAN_DEFAULT_PROJECT set) |