github_mcp.create_pull_request
Create or reconcile a GitHub pull request from a published job branch into the default branch after approval and SHA checks, returning the PR URL without merging.
Instructions
Create or reconcile a GitHub pull request for a published job branch into the configured default branch. Requires applicable local PR approval and matching remote SHA. Returns URL and existing flag; does not merge. GitHub credentials and permissions are required.
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": {
"job_id": "<job_id>",
"title": "<title>",
"description": "<description>"
},
"name": "github_mcp.create_pull_request"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| title | Yes | Nonempty PR title, at most 200 characters. | |
| job_id | Yes | Existing published job identifier with applicable PR approval. | |
| description | Yes | PR summary/body text, at most 10,000 characters; server adds commit and test details. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ok | Yes | ||
| data | No | ||
| message | No | ||
| error_code | No |