Getprojectsprojectidbranchesbranchidmergeable
getProjectsProjectIdBranchesBranchIdMergeableChecks whether a source is mergeable with the target branch in a Gerrit project, returning mergeability status for review and integration decisions.
Instructions
Gets whether the source is mergeable with the target branch.
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-id": "<project-id>",
"branch-id": "<branch-id>",
"source": "<source>"
},
"name": "getProjectsProjectIdBranchesBranchIdMergeable"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| source | Yes | ||
| strategy | No | ||
| branch-id | Yes | ||
| project-id | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||