create_pull_request
Submit code changes for review by creating a pull request between branches, with configurable title, description, reviewers, and optional source branch cleanup after merge.
Instructions
Create a new pull request
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": {
"repo_slug": "<repo_slug>",
"title": "<title>",
"source_branch": "<source_branch>",
"destination_branch": "<destination_branch>"
},
"name": "create_pull_request"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| title | Yes | ||
| repo_slug | Yes | Repository slug | |
| reviewers | No | Reviewer usernames or UUIDs | |
| description | No | ||
| source_branch | Yes | Branch to merge from | |
| destination_branch | Yes | Branch to merge into | |
| close_source_branch | No | Delete source branch after merge |