github_open_pr
Open a pull request on this run's repository.
Requires the org's agent-writes switch. Opening a pull request does not merge it. The repository is the run's bound github=.
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>",
"body": "<body>",
"head": "<head>"
},
"name": "github_open_pr"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| base | No | Branch to merge into. Omit for the repository default | |
| body | Yes | Pull request body | |
| head | Yes | Branch that contains the changes | |
| draft | No | Open as a draft | |
| title | Yes | Pull request title | |
| github | No | owner/repo. Omit to use the run's bound github= |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||