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. 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. FLAIR-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. FLAIR. |