create_work_item_comment
Add a comment to a work item by specifying the project and work item IDs. Supports HTML or JSON content, access levels, and external references.
Instructions
Create a comment for a work item.
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": {
"project_id": "<project_id>",
"work_item_id": "<work_item_id>"
},
"name": "create_work_item_comment"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| project_id | Yes | UUID of the project | |
| work_item_id | Yes | UUID of the work item | |
| comment_html | No | Comment content in HTML format | |
| comment_json | No | Comment content in JSON format | |
| access | No | Access level for the comment (INTERNAL or EXTERNAL) | |
| external_source | No | External system source name | |
| external_id | No | External system identifier |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | No | ||
| is_member | No | ||
| created_at | No | ||
| updated_at | No | ||
| deleted_at | No | ||
| comment_stripped | No | ||
| comment_html | No | ||
| attachments | No | ||
| access | No | ||
| external_source | No | ||
| external_id | No | ||
| edited_at | No | ||
| created_by | No | ||
| updated_by | No | ||
| project | No | ||
| workspace | No | ||
| issue | No | ||
| actor | No |