publish_draft_note
Publish a draft note on a merge request. Supply the project, merge request IID, and draft note ID to convert a saved draft into a posted comment.
Instructions
Publish a single draft note
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "publish_draft_note"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| project_id | No | Project ID or complete URL-encoded path to project | |
| draft_note_id | No | The ID of the draft note | |
| merge_request_iid | No | The IID of a merge request |