Get a task
get_taskOne task: its title, its state, its link, the Builder's question when it is waiting for your answer, and review and deploy. review is where the task's change is reviewed: a pull request on the project's git host, or a change CodeGene keeps, with its state and page. deploy is what that review's preview deploy says now, the same for every code home: a headline, each part's status with its preview link and the page its check links to (inspectUrl), why a part failed, what the preview database did, and notes, the deploy and database notes word for word as the pull request's comments or the change's notes show them. Both are null until the task's branch is under review or has deployed.
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>"
},
"name": "get_task"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| task_id | Yes | The task (list_tasks gives ids). | |
| workspace_id | No | Workspace id from whoami; omit when there is one. |