lease_renew
Renew an active lease by extending its TTL to prevent expiration during long-running tasks. Requires matching holder ID.
Instructions
Extend an existing lease's TTL while still holding it.
Call this periodically from long-running agents to prevent their lease from expiring mid-execution. The holder_id must match the current holder.
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": {
"resource_id": "<resource_id>",
"holder_id": "<holder_id>",
"ttl_seconds": "<ttl_seconds>"
},
"name": "lease_renew"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| holder_id | Yes | ||
| resource_id | Yes | ||
| ttl_seconds | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| renewed | Yes | ||
| expires_at | No | ||
| resource_id | Yes |