lock_file
Acquire an exclusive lock on a file before editing to prevent conflicts from concurrent modifications in a shared collaborative workspace.
Instructions
Acquire an exclusive lock on a file before editing.
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": {
"path": "<path>"
},
"name": "lock_file"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | File path to lock | |
| reason | No | Brief description of what you plan to do |