update_draft_note
Update an existing draft note on a GitLab merge request to change its content or diff position, using the draft note ID and optional new body or position settings.
Instructions
Update an existing 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": "update_draft_note"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| body | No | The content of the draft note | |
| position | No | Position when creating a diff note | |
| 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 | |
| resolve_discussion | No | Whether to resolve the discussion when publishing |