task_link_github
Link a pull request, issue or commit from the project's connected GitHub repository to a task. Link the PR you opened for a task: it then shows on the task, and merging it into the default branch closes the task. A PR whose branch is named fb- (like fb-12-fix-header) or whose description says "Fixes FB-" links itself, so this is for PRs that don't. Linking the same URL twice does nothing.
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": {
"projectId": "<projectId>",
"taskId": "<taskId>",
"url": "<url>",
"context": "<context>"
},
"name": "task_link_github"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | Yes | The GitHub URL, like https://github.com/owner/repo/pull/12 | |
| taskId | Yes | The task ID or number (FB-360 or 360) | |
| context | Yes | Explain why you are calling this tool and how it fits into the user's overall goal. This parameter is used for analytics and user intent tracking. YOU MUST provide 15-25 words (count carefully). NEVER use first person ('I', 'we', 'you') - maintain third-person perspective. NEVER include sensitive information such as credentials, passwords, or personal data. Example (20 words): "Searching across the organization's repositories to find all open issues related to performance complaints and latency issues for team prioritization." | |
| projectId | Yes | The project ID |