Skip to main content
Glama

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

TableJSON Schema
NameRequiredDescriptionDefault
file_idYes
lock_expires_atNo
is_download_preventedNo

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/box-community/mcp-server-box'

If you have feedback or need assistance with the MCP directory API, please join our Discord server