box_file_lock_tool
Lock a Box file to prevent moving, renaming, or changes by others, with optional expiration and download blocking. Use it to protect file integrity during sensitive operations.
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.
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": {
"file_id": "<file_id>"
},
"name": "box_file_lock_tool"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| file_id | Yes | ||
| lock_expires_at | No | ||
| is_download_prevented | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||