release_lock
Release a previously acquired file lock after finishing edits, enabling other agents to work on the file. Use to avoid blocking collaborative workflows.
Instructions
Release a previously acquired lock on a file. Call this after finishing edits to allow other agents to work on the file. The intent is committed to session history.
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": {
"filepath": "<filepath>"
},
"name": "release_lock"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| filepath | Yes | Relative path to the file to unlock | |
| agent_name | No | Optional: name of the agent releasing the lock (for ownership verification) |