createPRViaGittrCLI
Create a pull request on gittr with a single command that pushes your branch and opens the PR. Provide repo, title, branch, and signing key.
Instructions
Create PR via gittr CLI - full flow including git push (RECOMMENDED for PRs)
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": {
"repo": "<repo>",
"title": "<title>",
"privkey": "<privkey>"
},
"name": "createPRViaGittrCLI"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| base | No | Base branch (default: main) | |
| body | No | PR body | |
| head | No | Head branch | |
| repo | Yes | Repository (e.g., "npub.../my-repo") | |
| title | Yes | PR title | |
| privkey | Yes | Private key for signing |