box_collaboration_folder_user_by_user_login_tool
Create a collaboration on a Box folder for a user specified by email login and assign a role like editor, viewer, or co-owner.
Instructions
Create a collaboration on a folder with a user specified by user login (email). Args: client (BoxClient): Authenticated Box client. folder_id (str): The ID of the folder to collaborate on. user_login (str): The login (email) of the user to collaborate with. role (str): The role to assign to the collaborator. Default is "editor". Available roles are editor, viewer, previewer, uploader, viewer_uploader, co-owner. is_access_only (Optional[bool]): If set to true, collaborators have access to shared items, but such items won't be visible in the All Files list. Additionally, collaborators won't see the path to the root folder for the shared item. expires_at (Optional[DateTime]): The expiration date of the collaboration. notify (Optional[bool]): Whether to notify the collaborator via email. Returns: Dict[str, Any]: Dictionary containing collaboration details or error message.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| role | No | editor | |
| notify | No | ||
| folder_id | Yes | ||
| expires_at | No | ||
| user_login | Yes | ||
| can_view_path | No | ||
| is_access_only | No |