Create Merge Request
put_merge_requestCreate a new merge request between source and target branches in a JetBrains Space repository, returning the merge request number and details.
Instructions
Create a new merge request.
Args: project: Project key (e.g., "ij") repository: Repository name (e.g., "ultimate") source_branch: Branch with changes (e.g., "azhukova/fix-auth") target_branch: Branch to merge into (e.g., "master") title: MR title description: Optional MR description
Returns: YAML with created MR number, title, and branches.
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": "<project>",
"repository": "<repository>",
"source_branch": "<source_branch>",
"target_branch": "<target_branch>",
"title": "<title>"
},
"name": "put_merge_request"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| title | Yes | ||
| project | Yes | ||
| repository | Yes | ||
| description | No | ||
| source_branch | Yes | ||
| target_branch | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |