box_file_lock_tool
Lock files in Box to prevent unauthorized movement, renaming, or changes. Set expiration dates and optionally block downloads while locked.
Instructions
Define a lock on a file to prevent it from being moved, renamed, or changed by anyone other than the lock creator. Args: file_id (str): The ID of the file to lock. lock_expires_at (str, optional): Optional expiration date/time for the lock in ISO 8601 format. is_download_prevented (bool, optional): Optional flag to prevent downloads while locked. Returns: dict[str, Any]: Dictionary containing the locked file information including lock details.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| file_id | Yes | ||
| lock_expires_at | No | ||
| is_download_prevented | No |