create_work_item_comment
[Project Management] Create a comment for a specific work item. Set formatType to MARKDOWN for Markdown content or RICHTEXT for rich text. When omitted, the API defaults to RICHTEXT.
Instructions
[Project Management] Create a comment for a specific work item. Set formatType to MARKDOWN for Markdown content or RICHTEXT for rich text. When omitted, the API defaults to RICHTEXT.
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": {
"organizationId": "<organizationId>",
"workItemId": "<workItemId>",
"content": "<content>"
},
"name": "create_work_item_comment"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| content | Yes | 评论内容 | |
| formatType | No | 评论内容格式:RICHTEXT(富文本,默认)或 MARKDOWN(Markdown)。省略时使用服务端默认格式 RICHTEXT | |
| workItemId | Yes | 工作项ID | |
| organizationId | Yes | 企业ID |