claim_thread
Claim a specific thread by UUID only when it is unassigned, returning claimed=false if someone already holds it. Use this when you know exactly which thread to take.
Instructions
Claim one specific thread by id, succeeding only when nobody holds it: returns {thread, claimed}, with claimed=false when it is already assigned (to anyone, you included). Use it when you already know which thread to take; use claim_next_thread or claim_next_workspace_thread to be handed the best available work instead. The claim carries no lease deadline, so it does not lapse: give it up with release_claim, and the returned thread's claim_lease_id is the fencing token that release_claim and set_thread_result ask for. Refused for an ended thread, a thread parked with mark_unclaimable or blocked with set_thread_block, and when you are at the workspace's work-in-progress limit; a successful claim emits thread_assignment_changed. Requires thread:transition.
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": {
"thread_id": "<thread_id>"
},
"name": "claim_thread"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| thread_id | Yes | UUID of the thread to claim. You must be able to read it. |