reserve
Lock files before editing so other agents cannot overlap them; conflicting requests are refused with the holder, reason, and expiry.
Instructions
Reserve files BEFORE editing them: nobody else can reserve anything overlapping them while the reservation lives. Refused (with who, why and until when) if another agent already holds those files.
Args:
paths: ABSOLUTE paths: files, folders (all their content) or patterns (C:\...\src\*.py).
reason: why, in one sentence.
ttl_min: duration in minutes (1 to 1440); asking again extends it.
exclusive: False = shared (only other agents' exclusive reservations block it).
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": {
"paths": "<paths>",
"reason": "<reason>"
},
"name": "reserve"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| paths | Yes | ||
| reason | Yes | ||
| ttl_min | No | ||
| exclusive | No |