release_task
Release a leased task by providing its lease generation, ensuring the task cannot be released by an outdated owner. Set final status for hand-back or completion.
Instructions
Give up the caller's lease on a TASK. lease_generation is required so a reaped-and-reassigned task cannot be released out from under its new owner.
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>",
"lease_generation": "<lease_generation>"
},
"name": "release_task"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| note | No | Recorded in the LEASE_RELEASED event. | |
| status | No | TASK status to set on release. 'planned' is a voluntary hand-back. | planned |
| task_id | Yes | ||
| binding_token | No | Opaque token returned by this agent's join_session or plan_session. Required for reliable identity when logical agents share an MCP connection. | |
| lease_generation | Yes |