createPullRequest
Creates a pull request from a source branch to a target branch. Supports drafts, labels, assignees, and markdown descriptions.
Instructions
Create a pull request from head to base. GitVerse has no reviewer requests — use assignees instead. Pass draft=true to create a draft.
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": {
"owner": "<owner>",
"repo": "<repo>",
"title": "<title>",
"head": "<head>",
"base": "<base>"
},
"name": "createPullRequest"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| base | Yes | Target branch name | |
| body | No | PR description (markdown) | |
| head | Yes | Source branch name | |
| repo | Yes | Repository name | |
| draft | No | Create as draft | |
| owner | Yes | Repository owner | |
| title | Yes | PR title | |
| labels | No | Label names | |
| assignees | No | Usernames to assign |