Update Pull Request Task
update_pull_request_taskUpdate a pull request task by modifying its content or toggling its state between resolved and unresolved for managing code review items.
Instructions
Update a pull request task (content and/or state).
Args: repo_slug: Repository slug pull_request_id: Pull request ID task_id: Task ID content: New task content in markdown format (optional) state: New task state: UNRESOLVED or RESOLVED (optional) workspace: Workspace name (optional, defaults to configured workspace)
Returns: Updated task details
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": {
"repo_slug": "<repo_slug>",
"pull_request_id": "<pull_request_id>",
"task_id": "<task_id>"
},
"name": "update_pull_request_task"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| state | No | ||
| content | No | ||
| task_id | Yes | ||
| repo_slug | Yes | ||
| workspace | No | ||
| pull_request_id | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |