Get task
get_taskRetrieve complete details for a specific ad-hoc task—brief, edit history, dependency states, pinned agent, recent runs, and branch resumability—using its task key from the queue.
Instructions
Full details of one ad-hoc task: the complete brief, edit history, dependency states, pinned agent, recent runs, and whether its branch can be resumed. Same data as devintern worker task show <key> --json.
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": {
"taskKey": "<taskKey>"
},
"name": "get_task"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| taskKey | Yes | Ad-hoc task key (`local-…`), from get_queue |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| status | No | ||
| message | No | ||
| taskKey | No | ||
| errorCode | No | Set on failure: stable error code | |
| nextSteps | No | Set on failure: steps to run next (`command` runs on the worker host) |