unlock_files
Release file locks after completing changes to make files accessible to other agents and avoid blocking.
Instructions
Release file locks after you've completed your changes.
WHEN TO USE:
Immediately after completing changes to files
When you're done working on a specific file or set of files
Before switching to work on different files
At the end of a task or session
IMPORTANT: Always unlock files as soon as you're done with them. This allows other agents to work on those files and prevents unnecessary blocking.
WORKFLOW:
Complete your changes and test them
log_change() - Log what you changed
unlock_files() - Release the locks (THIS STEP)
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": {
"agent_id": "<agent_id>",
"project_id": "<project_id>",
"files": "<files>"
},
"name": "unlock_files"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| files | Yes | List of file paths to unlock (required) - e.g., ["src/auth.ts", "src/utils.ts"] | |
| agent_id | Yes | Your agent_id from register_agent() (required) | |
| project_id | Yes | Project ID from create_project() (required) |