Link a pull request
link_pull_requestPut the pull request you opened for a job on that job, so the job shows the work: its title, its state and its CI. A pull request comes by itself onto each job its own commits, its branch's name or its title names by key — any branch whose name carries the key counts, and so does a commit whose message names it, on any branch — so use this for one that did not reach its job. The pull request must be in a GitHub repository bound to the job's project. This changes nothing in GitHub. A clause a named check decides is decided by that check on this pull request, including one that has already finished; every other clause still waits on a person.
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": {
"project": "<project>",
"job": "<job>",
"url": "<url>"
},
"name": "link_pull_request"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| job | Yes | The job's key, e.g. BREW-12. | |
| url | Yes | The pull request's address, e.g. https://github.com/acme/api/pull/41. | |
| project | Yes | The project's key, e.g. BREW. |