box_shared_link_file_create_or_update_tool
Create or update secure shared links for Box files with customizable access controls, expiration dates, and permissions.
Instructions
Create or update a shared link for a file.
Args: ctx (Context): The context object containing the request and lifespan context. file_id (str): The ID of the file to create or update the shared link for. access (str, optional): The access level for the shared link. Defaults to None. unshared_at (str, optional): The expiration date for the shared link. Defaults to None. password (str, optional): The password for the shared link. Defaults to None. permissions (dict, optional): The permissions for the shared link. Defaults to None.
Returns: dict: The response from the Box API after creating or updating the shared link.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| file_id | Yes | ||
| access | No | company | |
| can_download | No | ||
| can_preview | No | ||
| can_edit | No | ||
| password | No | ||
| vanity_name | No | ||
| unshared_at | No |