team_file_lock
Prevent conflicting file edits in team environments by acquiring advisory locks with automatic 10-minute release. Check lock status or release locks manually to coordinate multi-user file access.
Instructions
Advisory file locks to prevent conflicting edits. Auto-releases after 10 min TTL. Action "lock": acquire lock. Action "unlock": release lock. Action "status": check lock status.
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| action | Yes | Operation to perform | |
| file | No | File path (required for lock/unlock, optional for status — omit to list all) | |
| agentId | No | Agent ID (required for lock/unlock) |