refresh_claim
Extend an active claim's TTL without releasing it, keeping work like long subagent reproductions owned by the caller. Records a claim_refreshed event and enforces per-role refresh limits.
Instructions
Extend an active claim's TTL without releasing it. Use when a subagent's reproduction is taking longer than the configured role TTL (e.g. a verifier mid-deploy on a remote test host). extend_by accepts the same duration shorthand as the role_ttls config ('30m', '2h'); if omitted, the role's configured TTL is added on top of the current claimed_until. The token must still be live AND held by the calling actor — an already-expired claim cannot be reanimated here (it must release and re-claim), because the stuck-work sweeper may have already handed the row to someone else. Writes a claim_refreshed event so the audit trail shows every extension. A plan type can limit refreshes per role (claim_limits in its config): a max lifetime from claimed_at, and requiring progress (an attempt, findings, a commit or a status change) since the last refresh. A refused refresh returns claim_limit_reached with details.reason (max_lifetime or no_progress) and claimed_until, when the claim runs out.
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": {
"ClaimToken": "<ClaimToken>"
},
"name": "refresh_claim"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ExtendBy | No | ||
| as_agent | No | ||
| ClaimToken | Yes |