link_task
Attach a branch, commit, PR, or URL to a task so repository work and external artifacts stay with the task's context.
Instructions
Attach a branch, commit, pull request, or URL link to a task. Use this when work in a repo, PR, or external artifact should travel with the task.
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": {
"task_id": "<task_id>",
"kind": "<kind>",
"ref": "<ref>"
},
"name": "link_task"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ref | Yes | Branch name, commit SHA, PR number, or URL reference | |
| url | No | Optional URL for the link | |
| kind | Yes | Link kind: branch, commit, pr, or url | |
| repo | No | Repository slug in owner/name form, when applicable | |
| task_id | Yes | The task ID to link |