File Reservation Paths
file_reservation_pathsRequest advisory file leases on project-relative paths or globs to coordinate coding-agent edits and prevent conflicting changes.
Instructions
Request advisory file reservations (leases) on project-relative paths/globs.
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": {
"project_key": "<project_key>",
"agent_name": "<agent_name>",
"paths": "<paths>"
},
"name": "file_reservation_paths"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| paths | Yes | File paths or glob patterns relative to the project workspace (e.g., "app/api/*.py"). | |
| format | No | ||
| reason | No | Optional explanation (helps humans reviewing Git artifacts). | |
| exclusive | No | If true, exclusive intent; otherwise shared/observe-only. | |
| agent_name | Yes | ||
| project_key | Yes | ||
| ttl_seconds | No | Time to live for the file_reservation; expired file_reservations are auto-released. | |
| registration_token | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||