updatePullRequest
Publish a pull request update with the new tip commit and clone URLs using NIP-34.
Instructions
Publish NIP-34 PR update (kind 1619): new tip commit + clone URLs
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": {
"ownerPubkey": "<ownerPubkey>",
"repoId": "<repoId>",
"pullRequestEventId": "<pullRequestEventId>",
"pullRequestAuthor": "<pullRequestAuthor>",
"currentCommitId": "<currentCommitId>",
"cloneUrls": "<cloneUrls>",
"privkey": "<privkey>"
},
"name": "updatePullRequest"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| relays | No | ||
| repoId | Yes | ||
| privkey | Yes | ||
| cloneUrls | Yes | ||
| mergeBase | No | ||
| ownerPubkey | Yes | ||
| currentCommitId | Yes | ||
| pullRequestAuthor | Yes | ||
| pullRequestEventId | Yes | ||
| earliestUniqueCommit | No |