github_create_pr
Create a pull request with a title formatted as 'Type/Issue-ID: Title' to link code changes to a Linear issue. Optionally set as draft or specify base branch.
Instructions
Create a pull request with proper naming.
Args: branch: Head branch name title: PR title (will be formatted with issue_id if provided) body: PR description (optional) issue_id: Linear issue ID to link (e.g., 'PROJ-123') repo: Repository name (defaults to configured default repo) base_branch: Base branch (defaults to repo default branch) draft: Create as draft PR
Returns: Dictionary with created PR details or error
The PR title will be formatted as: '/: ' Example: 'Feature/PROJ-123: User Authentication'
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": {
"branch": "<branch>",
"title": "<title>"
},
"name": "github_create_pr"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| body | No | ||
| repo | No | ||
| draft | No | ||
| title | Yes | ||
| branch | Yes | ||
| issue_id | No | ||
| base_branch | No |