box_shared_link_folder_create_or_update_tool
Create or update a shared link for a Box folder, setting access level, expiration, password, and permissions to control how others view or edit its contents.
Instructions
Create or update a shared link for a folder.
Args: ctx (Context): The context object containing the request and lifespan context. folder_id (str): The ID of the folder 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.
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": {
"folder_id": "<folder_id>"
},
"name": "box_shared_link_folder_create_or_update_tool"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| access | No | company | |
| can_edit | No | ||
| password | No | ||
| folder_id | Yes | ||
| can_preview | No | ||
| unshared_at | No | ||
| vanity_name | No | ||
| can_download | No |