pr_create
Open a GitHub pull request from the current chatgpt/* branch into main, returning an existing pull request URL when present. Use after pushing the branch; it does not merge.
Instructions
Open a GitHub pull request (via gh) from the current chatgpt/* branch into main; if one already exists, return its URL instead. Call after commit_push has pushed the branch. Refused on other branches. Does not merge; use pr_merge for that.
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": {
"title": "<title>"
},
"name": "pr_create"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| body | No | Pull request description (Markdown). Optional; defaults to empty. | |
| title | Yes | Pull request title. |