pg_github
Run guardrail-protected GitHub tasks—check auth, create private repositories, push without hooks, and open draft pull requests—using host credentials.
Instructions
Execute guardrail-protected GitHub operations (auth status, private-only repo creation, hookless push, draft PR) using host credentials.
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": {
"op": "<op>"
},
"name": "pg_github"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| op | Yes | ||
| base | No | Base branch for pr_create. | |
| body | No | PR body for pr_create. | |
| name | No | Repository name for create_private. | |
| tags | No | Push tags alongside branch. | |
| draft | No | Create PR as draft (default: true). | |
| title | No | PR title for pr_create. | |
| branch | No | Branch name for push (default: HEAD). | |
| remote | No | Named Git remote for push (default: origin). | |
| repo_path | No | Local repository/worktree path (required except for 'status'). | |
| description | No | Repository description for create_private. |