get_locked_files
Check which files are locked and who holds the locks to coordinate work and avoid conflicts.
Instructions
Check which files are currently locked and by whom.
This tool provides flexible project lookup. You can specify any combination of identifiers, and it will resolve to the matching project.
Priority: project_id > workspace_path > project_name
WHEN TO USE:
Before planning your work to see what files are unavailable
When you encounter conflicts and need to understand the situation
To coordinate with other agents working on the same project
To check if a specific file is available for editing
USEFUL FOR: Understanding the current state of file locks and planning your work accordingly.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| project_id | No | Project ID from create_project() (optional if project_name or workspace_path provided) | |
| project_name | No | Project name to look up (alternative to project_id) | |
| workspace_path | No | Workspace directory path (alternative to project_id) |