agp_lease
Acquire, renew, release, or list workspace file and path leases with fencing tokens to prevent concurrent edit conflicts between coding agents.
Instructions
Acquire, renew, release, check (dry-run), force_release, or list workspace file/path leases with monotonic fencing_token protection to prevent concurrent edit conflicts.
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": {
"action": "<action>"
},
"name": "agp_lease"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| mode | No | exclusive_write | |
| paths | No | File paths, globs, or lease_ids. | |
| action | Yes | ||
| ttl_sec | No | ||
| owner_uri | No | Your AGP URI (defaults to current session). |