Renew file reservation
renew_reservationExtend active file reservations before TTL expiry to continue editing without interruption.
Instructions
Purpose: Extend active file reservations while work continues. When to use: call before TTL expiry if an agent still owns the edit. Inputs: workspace_id plus reservation_id or file_path, optional agent_name, and new TTL. Side effects: updates reservation expiry and audit rows. Output: count of renewed reservations. Failure modes: returns zero when no matching active reservation exists.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| file_path | No | Optional repo-relative file path to renew. | |
| agent_name | No | Optional agent name used to scope renewal. | |
| ttl_minutes | No | New reservation lifetime in minutes. | |
| workspace_id | Yes | Workspace UUID containing the reservation. | |
| reservation_id | No | Optional reservation UUID to renew. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||