Release lease
release_leaseGive up a lease before its TTL ends so another agent can acquire the work. Use it when abandoning work without a reusable result. The secret owner token is required. No authentication is required.
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": {
"key": "<key>",
"owner_token": "<owner_token>"
},
"name": "release_lease"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| key | Yes | Work identity. With a namespace use 1 to 128 URL-safe ASCII characters, starting with a letter or digit. Without one use a caller-generated secret of 32 to 200 ASCII characters from A-Z, a-z, 0-9, dot, underscore, colon, tilde or hyphen, with at least eight distinct characters. | |
| namespace | No | Optional 256-bit namespace from create_lease_namespace. Keep it secret. | |
| owner_token | Yes | Secret owner token returned by acquire_lease. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ok | Yes | ||
| error | No | ||
| result | No | ||
| status | Yes | ||
| owner_token | No | ||
| ttl_seconds | No | ||
| completed_at | No | ||
| fencing_token | No | ||
| lease_expires_at | No | ||
| absolute_expires_at | No | ||
| retry_after_seconds | No | ||
| completed_at_timestamp | No | ||
| lease_expires_at_timestamp | No | ||
| absolute_expires_at_timestamp | No |