create_commit_comment
Add comments to specific commits in Alibaba Cloud DevOps repositories for code review and collaboration purposes.
Instructions
[Code Management] Create a comment on a commit
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>",
"repositoryId": "<repositoryId>",
"sha": "<sha>",
"content": "<content>"
},
"name": "create_commit_comment"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| organizationId | Yes | 组织ID | |
| repositoryId | Yes | 代码库ID或者URL-Encoder编码的全路径 | |
| sha | Yes | 提交的SHA值 | |
| content | Yes | commit的评论内容 |