Read worker recovery
get_task_worker_recoveryRead recovery proof for ownerAttemptId, or the latest recovery. Returns taskId, projectId and workerRecovery, which is null when none is recorded. Grants no ownership.
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": {
"taskId": "<taskId>"
},
"name": "get_task_worker_recovery"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| taskId | Yes | The task's ID, from the id field of list_tasks or get_task. Identifiers such as PRO-42 are not accepted here. | |
| ownerAttemptId | No | The ownerAttemptId you passed to acquire_task_worker_lease for the attempt that stopped. Leave it out for the latest recovery on this task. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| taskId | Yes | ID of the task. | |
| projectId | Yes | ID of its project. | |
| workerRecovery | Yes | The recovery record: generation, ownerAttemptId, expectedTaskRevision and recoveredAt. Null when none is recorded. |