Box MCP Server for Cloudflare Workers
127 tools available in the Box MCP server. Each tool can be called by AI assistants to perform specific actions.
box_list_collectionsList all collections (e.g., Favorites) for the current user.
Args:
Returns: List of collections.
{
"type": "object",
"properties": {
"format": {
"enum": [
"json",
"markdown"
],
"type": "string",
"default": "json",
"description": "Response format"
}
}
}box_permanently_delete_filePermanently delete a file from trash. This cannot be undone.
Args:
Returns: Confirmation of permanent deletion.
{
"type": "object",
"required": [
"fileId"
],
"properties": {
"fileId": {
"type": "string",
"description": "The ID of the file to permanently delete"
}
}
}box_delete_file_requestDelete a file request.
Args:
Returns: Confirmation of deletion.
{
"type": "object",
"required": [
"fileRequestId"
],
"properties": {
"fileRequestId": {
"type": "string",
"description": "The ID of the file request to delete"
}
}
}box_delete_collaborationRemove a collaboration (unshare).
Args:
Returns: Confirmation of removal.
{
"type": "object",
"required": [
"collaborationId"
],
"properties": {
"collaborationId": {
"type": "string",
"description": "The ID of the collaboration to remove"
}
}
}box_get_file_requestGet details about a file request.
Args:
Returns: File request details.
{
"type": "object",
"required": [
"fileRequestId"
],
"properties": {
"format": {
"enum": [
"json",
"markdown"
],
"type": "string",
"default": "json",
"description": "Response format"
},
"fileRequestId": {
"type": "string",
"description": "The ID of the file request"
}
}
}box_copy_file_requestCopy a file request to a new folder.
Args:
Returns: The copied file request.
{
"type": "object",
"required": [
"fileRequestId",
"folderId"
],
"properties": {
"folderId": {
"type": "string",
"description": "The destination folder ID"
},
"fileRequestId": {
"type": "string",
"description": "The ID of the file request to copy"
}
}
}box_list_folder_metadataList all metadata instances on a folder.
Args:
Returns: List of metadata instances on the folder.
{
"type": "object",
"required": [
"folderId"
],
"properties": {
"format": {
"enum": [
"json",
"markdown"
],
"type": "string",
"default": "json",
"description": "Response format"
},
"folderId": {
"type": "string",
"description": "The ID of the folder"
}
}
}box_update_file_requestUpdate a file request.
Args:
Returns: The updated file request.
{
"type": "object",
"required": [
"fileRequestId"
],
"properties": {
"title": {
"type": "string",
"description": "New title"
},
"status": {
"enum": [
"active",
"inactive"
],
"type": "string",
"description": "New status"
},
"expiresAt": {
"type": "string",
"description": "Expiration date (ISO 8601)"
},
"description": {
"type": "string",
"description": "New description"
},
"fileRequestId": {
"type": "string",
"description": "The ID of the file request"
},
"isEmailRequired": {
"type": "boolean",
"description": "Whether email is required"
},
"isDescriptionRequired": {
"type": "boolean",
"description": "Whether description is required"
}
}
}box_list_legal_hold_policiesList all legal hold policies.
Args:
Returns: List of legal hold policies.
{
"type": "object",
"properties": {
"limit": {
"type": "integer",
"default": 100,
"maximum": 1000,
"minimum": 1,
"description": "Maximum number to return"
},
"format": {
"enum": [
"json",
"markdown"
],
"type": "string",
"default": "json",
"description": "Response format"
},
"marker": {
"type": "string",
"description": "Pagination marker"
},
"policyName": {
"type": "string",
"description": "Filter by policy name"
}
}
}box_get_legal_hold_policyGet details about a legal hold policy.
Args:
Returns: Legal hold policy details.
{
"type": "object",
"required": [
"policyId"
],
"properties": {
"format": {
"enum": [
"json",
"markdown"
],
"type": "string",
"default": "json",
"description": "Response format"
},
"policyId": {
"type": "string",
"description": "The ID of the policy"
}
}
}box_create_legal_hold_policyCreate a legal hold policy.
Args:
Returns: The created legal hold policy.
{
"type": "object",
"required": [
"policyName"
],
"properties": {
"isOngoing": {
"type": "boolean",
"description": "Whether the hold is ongoing"
},
"policyName": {
"type": "string",
"description": "Name for the policy"
},
"description": {
"type": "string",
"description": "Description of the policy"
},
"filterEndedAt": {
"type": "string",
"description": "End date filter (ISO 8601)"
},
"filterStartedAt": {
"type": "string",
"description": "Start date filter (ISO 8601)"
}
}
}box_delete_legal_hold_policyDelete a legal hold policy.
Args:
Returns: Confirmation of deletion.
{
"type": "object",
"required": [
"policyId"
],
"properties": {
"policyId": {
"type": "string",
"description": "The ID of the policy to delete"
}
}
}box_list_retention_policiesList all retention policies.
Args:
Returns: List of retention policies.
{
"type": "object",
"properties": {
"limit": {
"type": "integer",
"default": 100,
"maximum": 1000,
"minimum": 1,
"description": "Maximum number to return"
},
"format": {
"enum": [
"json",
"markdown"
],
"type": "string",
"default": "json",
"description": "Response format"
},
"marker": {
"type": "string",
"description": "Pagination marker"
},
"policyName": {
"type": "string",
"description": "Filter by policy name"
},
"policyType": {
"enum": [
"finite",
"indefinite"
],
"type": "string",
"description": "Filter by policy type"
}
}
}box_get_retention_policyGet details about a retention policy.
Args:
Returns: Retention policy details.
{
"type": "object",
"required": [
"policyId"
],
"properties": {
"format": {
"enum": [
"json",
"markdown"
],
"type": "string",
"default": "json",
"description": "Response format"
},
"policyId": {
"type": "string",
"description": "The ID of the policy"
}
}
}box_list_sign_requestsList all Box Sign requests.
Args:
Returns: List of sign requests.
{
"type": "object",
"properties": {
"limit": {
"type": "integer",
"default": 100,
"maximum": 1000,
"minimum": 1,
"description": "Maximum number to return"
},
"format": {
"enum": [
"json",
"markdown"
],
"type": "string",
"default": "json",
"description": "Response format"
},
"marker": {
"type": "string",
"description": "Pagination marker"
}
}
}box_get_sign_requestGet details about a Box Sign request.
Args:
Returns: Sign request details.
{
"type": "object",
"required": [
"signRequestId"
],
"properties": {
"format": {
"enum": [
"json",
"markdown"
],
"type": "string",
"default": "json",
"description": "Response format"
},
"signRequestId": {
"type": "string",
"description": "The ID of the sign request"
}
}
}box_get_pending_collaborationsGet all pending collaboration invitations for the current user.
Args:
Returns: List of pending collaboration invitations.
{
"type": "object",
"properties": {
"limit": {
"type": "integer",
"default": 100,
"maximum": 1000,
"minimum": 1,
"description": "Maximum number to return"
},
"format": {
"enum": [
"json",
"markdown"
],
"type": "string",
"default": "json",
"description": "Response format"
},
"offset": {
"type": "integer",
"default": 0,
"minimum": 0,
"description": "Offset for pagination"
}
}
}box_create_sign_requestCreate a Box Sign request.
Args:
Returns: The created sign request.
{
"type": "object",
"required": [
"sourceFileIds",
"signerEmails",
"parentFolderId"
],
"properties": {
"name": {
"type": "string",
"description": "Name for the request"
},
"daysValid": {
"type": "integer",
"description": "Days the request is valid"
},
"emailMessage": {
"type": "string",
"description": "Email message"
},
"emailSubject": {
"type": "string",
"description": "Email subject"
},
"signerEmails": {
"type": "string",
"description": "Comma-separated list of signer emails"
},
"sourceFileIds": {
"type": "string",
"description": "Comma-separated list of file IDs"
},
"parentFolderId": {
"type": "string",
"description": "Folder ID for signed documents"
}
}
}box_cancel_sign_requestCancel a Box Sign request.
Args:
Returns: The cancelled sign request.
{
"type": "object",
"required": [
"signRequestId"
],
"properties": {
"signRequestId": {
"type": "string",
"description": "The ID of the sign request to cancel"
}
}
}box_resend_sign_requestResend a Box Sign request to signers.
Args:
Returns: Confirmation of resend.
{
"type": "object",
"required": [
"signRequestId"
],
"properties": {
"signRequestId": {
"type": "string",
"description": "The ID of the sign request to resend"
}
}
}box_list_sign_templatesList all Box Sign templates.
Args:
Returns: List of sign templates.
{
"type": "object",
"properties": {
"limit": {
"type": "integer",
"default": 100,
"maximum": 1000,
"minimum": 1,
"description": "Maximum number to return"
},
"format": {
"enum": [
"json",
"markdown"
],
"type": "string",
"default": "json",
"description": "Response format"
},
"marker": {
"type": "string",
"description": "Pagination marker"
}
}
}box_get_sign_templateGet details about a Box Sign template.
Args:
Returns: Sign template details.
{
"type": "object",
"required": [
"templateId"
],
"properties": {
"format": {
"enum": [
"json",
"markdown"
],
"type": "string",
"default": "json",
"description": "Response format"
},
"templateId": {
"type": "string",
"description": "The ID of the sign template"
}
}
}box_create_zip_downloadCreate a zip download for multiple files and folders.
Args:
Returns: Download URL and status URL.
{
"type": "object",
"required": [
"items"
],
"properties": {
"items": {
"type": "string",
"description": "JSON array of items to include"
},
"downloadFileName": {
"type": "string",
"description": "Name for the zip file"
}
}
}box_get_collaborationGet details about a specific collaboration.
Args:
Returns: Collaboration details including role, status, and participants.
{
"type": "object",
"required": [
"collaborationId"
],
"properties": {
"fields": {
"type": "string",
"description": "Comma-separated list of fields to include"
},
"format": {
"enum": [
"json",
"markdown"
],
"type": "string",
"default": "json",
"description": "Response format"
},
"collaborationId": {
"type": "string",
"description": "The ID of the collaboration"
}
}
}box_create_collaborationAdd a collaboration (share) on a file or folder.
Args:
Returns: The created collaboration object.
Available roles:
{
"type": "object",
"required": [
"itemId",
"itemType",
"accessibleByType",
"role"
],
"properties": {
"role": {
"enum": [
"editor",
"viewer",
"previewer",
"uploader",
"previewer uploader",
"viewer uploader",
"co-owner"
],
"type": "string",
"description": "Role for the collaboration"
},
"itemId": {
"type": "string",
"description": "The ID of the file or folder to share"
},
"itemType": {
"enum": [
"file",
"folder"
],
"type": "string",
"description": "Type of item"
},
"expiresAt": {
"type": "string",
"description": "When the collaboration expires (ISO 8601 format)"
},
"canViewPath": {
"type": "boolean",
"description": "Allow collaborator to view path to item"
},
"isAccessOnly": {
"type": "boolean",
"description": "Whether collaboration is access-only"
},
"accessibleById": {
"type": "string",
"description": "ID of the user or group"
},
"accessibleByType": {
"enum": [
"user",
"group"
],
"type": "string",
"description": "Type of collaborator"
},
"accessibleByLogin": {
"type": "string",
"description": "Email of the user to invite"
}
}
}box_update_collaborationUpdate a collaboration's role or settings.
Args:
Returns: The updated collaboration object.
{
"type": "object",
"required": [
"collaborationId",
"role"
],
"properties": {
"role": {
"enum": [
"editor",
"viewer",
"previewer",
"uploader",
"previewer uploader",
"viewer uploader",
"co-owner"
],
"type": "string",
"description": "New role"
},
"status": {
"enum": [
"accepted",
"pending",
"rejected"
],
"type": "string",
"description": "Status of the collaboration"
},
"expiresAt": {
"type": "string",
"description": "When the collaboration expires"
},
"canViewPath": {
"type": "boolean",
"description": "Allow collaborator to view path"
},
"collaborationId": {
"type": "string",
"description": "The ID of the collaboration to update"
}
}
}box_get_collection_itemsGet items in a collection.
Args:
Returns: Items (files, folders, web links) in the collection.
{
"type": "object",
"required": [
"collectionId"
],
"properties": {
"limit": {
"type": "integer",
"default": 100,
"maximum": 1000,
"minimum": 1,
"description": "Maximum number to return"
},
"format": {
"enum": [
"json",
"markdown"
],
"type": "string",
"default": "json",
"description": "Response format"
},
"offset": {
"type": "integer",
"default": 0,
"minimum": 0,
"description": "Offset for pagination"
},
"collectionId": {
"type": "string",
"description": "The ID of the collection"
}
}
}box_add_file_to_collectionAdd a file to a collection (e.g., mark as favorite).
Args:
Returns: The updated file.
{
"type": "object",
"required": [
"fileId",
"collectionId"
],
"properties": {
"fileId": {
"type": "string",
"description": "The ID of the file"
},
"collectionId": {
"type": "string",
"description": "The ID of the collection"
}
}
}box_remove_file_from_collectionRemove a file from a collection.
Args:
Returns: The updated file.
{
"type": "object",
"required": [
"fileId",
"collectionId"
],
"properties": {
"fileId": {
"type": "string",
"description": "The ID of the file"
},
"collectionId": {
"type": "string",
"description": "The ID of the collection"
}
}
}box_add_folder_to_collectionAdd a folder to a collection (e.g., mark as favorite).
Args:
Returns: The updated folder.
{
"type": "object",
"required": [
"folderId",
"collectionId"
],
"properties": {
"folderId": {
"type": "string",
"description": "The ID of the folder"
},
"collectionId": {
"type": "string",
"description": "The ID of the collection"
}
}
}box_remove_folder_from_collectionRemove a folder from a collection.
Args:
Returns: The updated folder.
{
"type": "object",
"required": [
"folderId",
"collectionId"
],
"properties": {
"folderId": {
"type": "string",
"description": "The ID of the folder"
},
"collectionId": {
"type": "string",
"description": "The ID of the collection"
}
}
}box_get_commentGet details about a specific comment.
Args:
Returns: Comment details including message, author, and timestamps.
{
"type": "object",
"required": [
"commentId"
],
"properties": {
"fields": {
"type": "string",
"description": "Comma-separated list of fields to include"
},
"format": {
"enum": [
"json",
"markdown"
],
"type": "string",
"default": "json",
"description": "Response format"
},
"commentId": {
"type": "string",
"description": "The ID of the comment"
}
}
}box_create_commentAdd a comment to a file.
Args:
Returns: The created comment object.
To mention users in a comment, use the taggedMessage parameter with format: @[user_id:User Name] Review this section
{
"type": "object",
"required": [
"fileId",
"message"
],
"properties": {
"fileId": {
"type": "string",
"description": "The ID of the file to comment on"
},
"message": {
"type": "string",
"description": "The comment message"
},
"taggedMessage": {
"type": "string",
"description": "Message with @mentions"
}
}
}box_reply_to_commentReply to an existing comment.
Args:
Returns: The created reply comment.
{
"type": "object",
"required": [
"commentId",
"message"
],
"properties": {
"message": {
"type": "string",
"description": "The reply message"
},
"commentId": {
"type": "string",
"description": "The ID of the comment to reply to"
},
"taggedMessage": {
"type": "string",
"description": "Message with @mentions"
}
}
}box_update_commentUpdate an existing comment.
Args:
Returns: The updated comment object.
{
"type": "object",
"required": [
"commentId",
"message"
],
"properties": {
"message": {
"type": "string",
"description": "The new message"
},
"commentId": {
"type": "string",
"description": "The ID of the comment to update"
}
}
}box_delete_commentDelete a comment.
Args:
Returns: Confirmation of deletion.
{
"type": "object",
"required": [
"commentId"
],
"properties": {
"commentId": {
"type": "string",
"description": "The ID of the comment to delete"
}
}
}box_get_eventsGet user or enterprise events.
Args:
Returns: Events with next_stream_position for pagination.
Common event types:
{
"type": "object",
"properties": {
"limit": {
"type": "integer",
"default": 100,
"maximum": 500,
"minimum": 1,
"description": "Maximum number of events"
},
"format": {
"enum": [
"json",
"markdown"
],
"type": "string",
"default": "json",
"description": "Response format"
},
"eventTypes": {
"type": "string",
"description": "Comma-separated list of event types"
},
"streamType": {
"enum": [
"all",
"changes",
"sync",
"admin_logs",
"admin_logs_streaming"
],
"type": "string",
"default": "all",
"description": "Type of event stream"
},
"createdAfter": {
"type": "string",
"description": "Only events after this date (ISO 8601)"
},
"createdBefore": {
"type": "string",
"description": "Only events before this date (ISO 8601)"
},
"streamPosition": {
"type": "string",
"description": "Position marker to start from"
}
}
}box_get_recent_itemsGet recently accessed items for the current user.
Args:
Returns: List of recently accessed files, folders, and web links.
{
"type": "object",
"properties": {
"limit": {
"type": "integer",
"default": 100,
"maximum": 1000,
"minimum": 1,
"description": "Maximum number to return"
},
"fields": {
"type": "string",
"description": "Fields to include"
},
"format": {
"enum": [
"json",
"markdown"
],
"type": "string",
"default": "json",
"description": "Response format"
},
"marker": {
"type": "string",
"description": "Pagination marker"
}
}
}box_get_fileGet detailed information about a file.
Args:
Returns: File details including name, size, dates, owner, and more.
{
"type": "object",
"required": [
"fileId"
],
"properties": {
"fields": {
"type": "string",
"description": "Comma-separated list of fields to include"
},
"fileId": {
"type": "string",
"description": "The ID of the file"
},
"format": {
"enum": [
"json",
"markdown"
],
"type": "string",
"default": "json",
"description": "Response format"
}
}
}box_download_fileDownload the content of a file.
Args:
Returns: The file content as base64 encoded string.
{
"type": "object",
"required": [
"fileId"
],
"properties": {
"fileId": {
"type": "string",
"description": "The ID of the file to download"
}
}
}box_upload_fileUpload a new file to a folder.
Args:
Returns: The created file object.
{
"type": "object",
"required": [
"folderId",
"filename",
"content"
],
"properties": {
"content": {
"type": "string",
"description": "The file content (text or base64 encoded)"
},
"filename": {
"type": "string",
"description": "The name for the uploaded file"
},
"folderId": {
"type": "string",
"description": "The ID of the parent folder (use \"0\" for root)"
},
"isBase64": {
"type": "boolean",
"default": false,
"description": "Whether the content is base64 encoded"
}
}
}box_upload_file_versionUpload a new version of an existing file.
Args:
Returns: The updated file object.
{
"type": "object",
"required": [
"fileId",
"content"
],
"properties": {
"fileId": {
"type": "string",
"description": "The ID of the file to update"
},
"content": {
"type": "string",
"description": "The new file content (text or base64 encoded)"
},
"isBase64": {
"type": "boolean",
"default": false,
"description": "Whether the content is base64 encoded"
}
}
}box_update_fileUpdate file metadata (name, description, parent folder, tags).
Args:
Returns: The updated file object.
{
"type": "object",
"required": [
"fileId"
],
"properties": {
"name": {
"type": "string",
"description": "New name for the file"
},
"tags": {
"type": "string",
"description": "Comma-separated list of tags"
},
"fileId": {
"type": "string",
"description": "The ID of the file to update"
},
"parentId": {
"type": "string",
"description": "Move file to this folder ID"
},
"description": {
"type": "string",
"description": "New description for the file"
}
}
}box_copy_fileCopy a file to another folder.
Args:
Returns: The copied file object.
{
"type": "object",
"required": [
"fileId",
"parentId"
],
"properties": {
"name": {
"type": "string",
"description": "Optional new name for the copied file"
},
"fileId": {
"type": "string",
"description": "The ID of the file to copy"
},
"parentId": {
"type": "string",
"description": "The ID of the destination folder"
}
}
}box_delete_fileDelete a file (moves to trash).
Args:
Returns: Confirmation of deletion.
{
"type": "object",
"required": [
"fileId"
],
"properties": {
"fileId": {
"type": "string",
"description": "The ID of the file to delete"
}
}
}box_get_file_versionsGet all versions of a file.
Args:
Returns: List of file versions.
{
"type": "object",
"required": [
"fileId"
],
"properties": {
"limit": {
"type": "integer",
"default": 100,
"maximum": 1000,
"minimum": 1,
"description": "Maximum number of versions to return"
},
"fileId": {
"type": "string",
"description": "The ID of the file"
},
"format": {
"enum": [
"json",
"markdown"
],
"type": "string",
"default": "json",
"description": "Response format"
},
"offset": {
"type": "integer",
"default": 0,
"minimum": 0,
"description": "Offset for pagination"
}
}
}box_promote_file_versionPromote an older version to be the current version.
Args:
Returns: The promoted file version.
{
"type": "object",
"required": [
"fileId",
"versionId"
],
"properties": {
"fileId": {
"type": "string",
"description": "The ID of the file"
},
"versionId": {
"type": "string",
"description": "The ID of the version to promote"
}
}
}box_delete_file_versionDelete a specific version of a file.
Args:
Returns: Confirmation of deletion.
{
"type": "object",
"required": [
"fileId",
"versionId"
],
"properties": {
"fileId": {
"type": "string",
"description": "The ID of the file"
},
"versionId": {
"type": "string",
"description": "The ID of the version to delete"
}
}
}box_get_file_thumbnailGet a thumbnail image for a file.
Args:
Returns: Thumbnail as base64 encoded string.
{
"type": "object",
"required": [
"fileId"
],
"properties": {
"fileId": {
"type": "string",
"description": "The ID of the file"
},
"minWidth": {
"type": "integer",
"minimum": 1,
"description": "Minimum width in pixels"
},
"extension": {
"enum": [
"png",
"jpg"
],
"type": "string",
"default": "png",
"description": "Thumbnail format"
},
"minHeight": {
"type": "integer",
"minimum": 1,
"description": "Minimum height in pixels"
}
}
}box_get_file_commentsGet all comments on a file.
Args:
Returns: List of comments on the file.
{
"type": "object",
"required": [
"fileId"
],
"properties": {
"limit": {
"type": "integer",
"default": 100,
"maximum": 1000,
"minimum": 1,
"description": "Maximum number of comments to return"
},
"fileId": {
"type": "string",
"description": "The ID of the file"
},
"format": {
"enum": [
"json",
"markdown"
],
"type": "string",
"default": "json",
"description": "Response format"
},
"offset": {
"type": "integer",
"default": 0,
"minimum": 0,
"description": "Offset for pagination"
}
}
}box_get_file_tasksGet all tasks on a file.
Args:
Returns: List of tasks on the file.
{
"type": "object",
"required": [
"fileId"
],
"properties": {
"fileId": {
"type": "string",
"description": "The ID of the file"
},
"format": {
"enum": [
"json",
"markdown"
],
"type": "string",
"default": "json",
"description": "Response format"
}
}
}box_get_file_collaborationsGet all collaborations on a file.
Args:
Returns: List of collaborations on the file.
{
"type": "object",
"required": [
"fileId"
],
"properties": {
"limit": {
"type": "integer",
"default": 100,
"maximum": 1000,
"minimum": 1,
"description": "Maximum number to return"
},
"fileId": {
"type": "string",
"description": "The ID of the file"
},
"format": {
"enum": [
"json",
"markdown"
],
"type": "string",
"default": "json",
"description": "Response format"
},
"marker": {
"type": "string",
"description": "Pagination marker"
}
}
}box_get_trashed_fileGet information about a file in trash.
Args:
Returns: The trashed file details.
{
"type": "object",
"required": [
"fileId"
],
"properties": {
"fileId": {
"type": "string",
"description": "The ID of the trashed file"
},
"format": {
"enum": [
"json",
"markdown"
],
"type": "string",
"default": "json",
"description": "Response format"
}
}
}box_restore_fileRestore a file from trash.
Args:
Returns: The restored file object.
{
"type": "object",
"required": [
"fileId"
],
"properties": {
"name": {
"type": "string",
"description": "Optional new name for the restored file"
},
"fileId": {
"type": "string",
"description": "The ID of the file to restore"
},
"parentId": {
"type": "string",
"description": "Optional folder ID to restore to"
}
}
}box_get_folderGet detailed information about a folder.
Args:
Returns: Folder details including name, size, dates, owner, and more.
{
"type": "object",
"required": [
"folderId"
],
"properties": {
"fields": {
"type": "string",
"description": "Comma-separated list of fields to include"
},
"format": {
"enum": [
"json",
"markdown"
],
"type": "string",
"default": "json",
"description": "Response format"
},
"folderId": {
"type": "string",
"description": "The ID of the folder (use \"0\" for root)"
}
}
}box_list_folderList items (files and folders) in a folder.
Args:
Returns: Paginated list of files, folders, and web links in the folder.
{
"type": "object",
"required": [
"folderId"
],
"properties": {
"limit": {
"type": "integer",
"default": 100,
"maximum": 1000,
"minimum": 1,
"description": "Maximum number of items to return"
},
"fields": {
"type": "string",
"description": "Comma-separated list of fields to include"
},
"format": {
"enum": [
"json",
"markdown"
],
"type": "string",
"default": "json",
"description": "Response format"
},
"marker": {
"type": "string",
"description": "Marker for pagination"
},
"offset": {
"type": "integer",
"minimum": 0,
"description": "Offset for pagination"
},
"folderId": {
"type": "string",
"description": "The ID of the folder (use \"0\" for root)"
}
}
}box_create_folderCreate a new folder.
Args:
Returns: The created folder object.
{
"type": "object",
"required": [
"parentId",
"name"
],
"properties": {
"name": {
"type": "string",
"description": "The name for the new folder"
},
"parentId": {
"type": "string",
"description": "The ID of the parent folder (use \"0\" for root)"
}
}
}box_update_folderUpdate folder metadata (name, description, parent folder, tags).
Args:
Returns: The updated folder object.
{
"type": "object",
"required": [
"folderId"
],
"properties": {
"name": {
"type": "string",
"description": "New name for the folder"
},
"tags": {
"type": "string",
"description": "Comma-separated list of tags"
},
"folderId": {
"type": "string",
"description": "The ID of the folder to update"
},
"parentId": {
"type": "string",
"description": "Move folder to this parent folder ID"
},
"syncState": {
"type": "string",
"description": "Sync state"
},
"description": {
"type": "string",
"description": "New description for the folder"
}
}
}box_copy_folderCopy a folder to another location.
Args:
Returns: The copied folder object.
{
"type": "object",
"required": [
"folderId",
"parentId"
],
"properties": {
"name": {
"type": "string",
"description": "Optional new name for the copied folder"
},
"folderId": {
"type": "string",
"description": "The ID of the folder to copy"
},
"parentId": {
"type": "string",
"description": "The ID of the destination parent folder"
}
}
}box_delete_folderDelete a folder (moves to trash).
Args:
Returns: Confirmation of deletion.
{
"type": "object",
"required": [
"folderId"
],
"properties": {
"folderId": {
"type": "string",
"description": "The ID of the folder to delete"
},
"recursive": {
"type": "boolean",
"default": false,
"description": "Whether to delete contents recursively"
}
}
}box_get_folder_collaborationsGet all collaborations on a folder.
Args:
Returns: List of collaborations on the folder.
{
"type": "object",
"required": [
"folderId"
],
"properties": {
"limit": {
"type": "integer",
"default": 100,
"maximum": 1000,
"minimum": 1,
"description": "Maximum number to return"
},
"format": {
"enum": [
"json",
"markdown"
],
"type": "string",
"default": "json",
"description": "Response format"
},
"marker": {
"type": "string",
"description": "Pagination marker"
},
"folderId": {
"type": "string",
"description": "The ID of the folder"
}
}
}box_get_trashed_folderGet information about a folder in trash.
Args:
Returns: The trashed folder details.
{
"type": "object",
"required": [
"folderId"
],
"properties": {
"format": {
"enum": [
"json",
"markdown"
],
"type": "string",
"default": "json",
"description": "Response format"
},
"folderId": {
"type": "string",
"description": "The ID of the trashed folder"
}
}
}box_restore_folderRestore a folder from trash.
Args:
Returns: The restored folder object.
{
"type": "object",
"required": [
"folderId"
],
"properties": {
"name": {
"type": "string",
"description": "Optional new name for the restored folder"
},
"folderId": {
"type": "string",
"description": "The ID of the folder to restore"
},
"parentId": {
"type": "string",
"description": "Optional folder ID to restore to"
}
}
}box_permanently_delete_folderPermanently delete a folder from trash. This cannot be undone.
Args:
Returns: Confirmation of permanent deletion.
{
"type": "object",
"required": [
"folderId"
],
"properties": {
"folderId": {
"type": "string",
"description": "The ID of the folder to permanently delete"
}
}
}box_get_trashed_itemsGet all items in trash.
Args:
Returns: Paginated list of trashed items.
{
"type": "object",
"properties": {
"limit": {
"type": "integer",
"default": 100,
"maximum": 1000,
"minimum": 1,
"description": "Maximum number of items to return"
},
"format": {
"enum": [
"json",
"markdown"
],
"type": "string",
"default": "json",
"description": "Response format"
},
"offset": {
"type": "integer",
"default": 0,
"minimum": 0,
"description": "Offset for pagination"
}
}
}box_get_folder_locksGet all locks on a folder.
Args:
Returns: List of folder locks.
{
"type": "object",
"required": [
"folderId"
],
"properties": {
"format": {
"enum": [
"json",
"markdown"
],
"type": "string",
"default": "json",
"description": "Response format"
},
"folderId": {
"type": "string",
"description": "The ID of the folder"
}
}
}box_create_folder_lockCreate a lock on a folder to prevent move and delete operations.
Args:
Returns: The created folder lock.
{
"type": "object",
"required": [
"folderId"
],
"properties": {
"folderId": {
"type": "string",
"description": "The ID of the folder to lock"
}
}
}box_delete_folder_lockRemove a lock from a folder.
Args:
Returns: Confirmation of lock removal.
{
"type": "object",
"required": [
"lockId"
],
"properties": {
"lockId": {
"type": "string",
"description": "The ID of the folder lock to remove"
}
}
}box_list_groupsList all groups in the enterprise.
Args:
Returns: Paginated list of groups.
{
"type": "object",
"properties": {
"limit": {
"type": "integer",
"default": 100,
"maximum": 1000,
"minimum": 1,
"description": "Maximum number of groups to return"
},
"format": {
"enum": [
"json",
"markdown"
],
"type": "string",
"default": "json",
"description": "Response format"
},
"offset": {
"type": "integer",
"default": 0,
"minimum": 0,
"description": "Offset for pagination"
},
"filterTerm": {
"type": "string",
"description": "Search term to filter groups"
}
}
}box_get_groupGet information about a specific group.
Args:
Returns: Group details including name, description, and settings.
{
"type": "object",
"required": [
"groupId"
],
"properties": {
"fields": {
"type": "string",
"description": "Comma-separated list of fields to include"
},
"format": {
"enum": [
"json",
"markdown"
],
"type": "string",
"default": "json",
"description": "Response format"
},
"groupId": {
"type": "string",
"description": "The ID of the group"
}
}
}box_create_groupCreate a new group in the enterprise.
Args:
Returns: The created group object.
{
"type": "object",
"required": [
"name"
],
"properties": {
"name": {
"type": "string",
"description": "The name of the group"
},
"provenance": {
"type": "string",
"description": "Custom identifier for external groups"
},
"description": {
"type": "string",
"description": "Description of the group"
},
"invitabilityLevel": {
"enum": [
"admins_only",
"admins_and_members",
"all_managed_users"
],
"type": "string",
"description": "Who can invite to the group"
},
"externalSyncIdentifier": {
"type": "string",
"description": "External sync identifier"
},
"memberViewabilityLevel": {
"enum": [
"admins_only",
"admins_and_members",
"all_managed_users"
],
"type": "string",
"description": "Who can view members"
}
}
}box_update_groupUpdate a group's information.
Args:
Returns: The updated group object.
{
"type": "object",
"required": [
"groupId"
],
"properties": {
"name": {
"type": "string",
"description": "New name for the group"
},
"groupId": {
"type": "string",
"description": "The ID of the group to update"
},
"provenance": {
"type": "string",
"description": "New provenance"
},
"description": {
"type": "string",
"description": "New description"
},
"invitabilityLevel": {
"enum": [
"admins_only",
"admins_and_members",
"all_managed_users"
],
"type": "string",
"description": "Who can invite"
},
"externalSyncIdentifier": {
"type": "string",
"description": "New external sync identifier"
},
"memberViewabilityLevel": {
"enum": [
"admins_only",
"admins_and_members",
"all_managed_users"
],
"type": "string",
"description": "Who can view members"
}
}
}box_delete_groupDelete a group from the enterprise.
Args:
Returns: Confirmation of deletion.
{
"type": "object",
"required": [
"groupId"
],
"properties": {
"groupId": {
"type": "string",
"description": "The ID of the group to delete"
}
}
}box_get_group_membershipsGet all members of a group.
Args:
Returns: List of group memberships.
{
"type": "object",
"required": [
"groupId"
],
"properties": {
"limit": {
"type": "integer",
"default": 100,
"maximum": 1000,
"minimum": 1,
"description": "Maximum number to return"
},
"format": {
"enum": [
"json",
"markdown"
],
"type": "string",
"default": "json",
"description": "Response format"
},
"offset": {
"type": "integer",
"default": 0,
"minimum": 0,
"description": "Offset for pagination"
},
"groupId": {
"type": "string",
"description": "The ID of the group"
}
}
}box_get_group_collaborationsGet all collaborations for a group.
Args:
Returns: List of collaborations for the group.
{
"type": "object",
"required": [
"groupId"
],
"properties": {
"limit": {
"type": "integer",
"default": 100,
"maximum": 1000,
"minimum": 1,
"description": "Maximum number to return"
},
"format": {
"enum": [
"json",
"markdown"
],
"type": "string",
"default": "json",
"description": "Response format"
},
"offset": {
"type": "integer",
"default": 0,
"minimum": 0,
"description": "Offset for pagination"
},
"groupId": {
"type": "string",
"description": "The ID of the group"
}
}
}box_get_group_membershipGet a specific group membership.
Args:
Returns: Group membership details.
{
"type": "object",
"required": [
"membershipId"
],
"properties": {
"fields": {
"type": "string",
"description": "Comma-separated list of fields to include"
},
"format": {
"enum": [
"json",
"markdown"
],
"type": "string",
"default": "json",
"description": "Response format"
},
"membershipId": {
"type": "string",
"description": "The ID of the group membership"
}
}
}box_add_user_to_groupAdd a user to a group.
Args:
Returns: The created group membership.
{
"type": "object",
"required": [
"userId",
"groupId"
],
"properties": {
"role": {
"enum": [
"member",
"admin"
],
"type": "string",
"default": "member",
"description": "Role in the group"
},
"userId": {
"type": "string",
"description": "The ID of the user to add"
},
"groupId": {
"type": "string",
"description": "The ID of the group"
}
}
}box_update_group_membershipUpdate a user's role in a group.
Args:
Returns: The updated group membership.
{
"type": "object",
"required": [
"membershipId",
"role"
],
"properties": {
"role": {
"enum": [
"member",
"admin"
],
"type": "string",
"description": "New role in the group"
},
"membershipId": {
"type": "string",
"description": "The ID of the group membership"
}
}
}box_remove_user_from_groupRemove a user from a group.
Args:
Returns: Confirmation of removal.
{
"type": "object",
"required": [
"membershipId"
],
"properties": {
"membershipId": {
"type": "string",
"description": "The ID of the group membership to remove"
}
}
}box_delete_file_metadataRemove a metadata instance from a file.
Args:
Returns: Confirmation of removal.
{
"type": "object",
"required": [
"fileId",
"scope",
"templateKey"
],
"properties": {
"scope": {
"type": "string",
"description": "Template scope"
},
"fileId": {
"type": "string",
"description": "The ID of the file"
},
"templateKey": {
"type": "string",
"description": "Template key"
}
}
}box_list_enterprise_metadata_templatesList all enterprise metadata templates.
Args:
Returns: List of enterprise metadata templates.
{
"type": "object",
"properties": {
"limit": {
"type": "integer",
"default": 100,
"maximum": 1000,
"minimum": 1,
"description": "Maximum number to return"
},
"format": {
"enum": [
"json",
"markdown"
],
"type": "string",
"default": "json",
"description": "Response format"
},
"marker": {
"type": "string",
"description": "Pagination marker"
}
}
}box_list_global_metadata_templatesList all global (Box-provided) metadata templates.
Args:
Returns: List of global metadata templates.
{
"type": "object",
"properties": {
"limit": {
"type": "integer",
"default": 100,
"maximum": 1000,
"minimum": 1,
"description": "Maximum number to return"
},
"format": {
"enum": [
"json",
"markdown"
],
"type": "string",
"default": "json",
"description": "Response format"
},
"marker": {
"type": "string",
"description": "Pagination marker"
}
}
}box_get_metadata_templateGet a metadata template by scope and key.
Args:
Returns: Metadata template details including fields.
{
"type": "object",
"required": [
"scope",
"templateKey"
],
"properties": {
"scope": {
"type": "string",
"description": "Template scope (enterprise or global)"
},
"format": {
"enum": [
"json",
"markdown"
],
"type": "string",
"default": "json",
"description": "Response format"
},
"templateKey": {
"type": "string",
"description": "Template key"
}
}
}box_create_metadata_templateCreate a new enterprise metadata template.
Args:
Field definition format: [ { "type": "string", "key": "field_key", "displayName": "Field Name" }, { "type": "enum", "key": "status", "displayName": "Status", "options": [{"key": "active"}, {"key": "inactive"}] }, { "type": "float", "key": "amount", "displayName": "Amount" }, { "type": "date", "key": "due_date", "displayName": "Due Date" } ]
Field types: string, float, date, enum, multiSelect
Returns: The created metadata template.
{
"type": "object",
"required": [
"templateKey",
"displayName"
],
"properties": {
"fields": {
"type": "string",
"description": "JSON array of field definitions"
},
"hidden": {
"type": "boolean",
"default": false,
"description": "Whether template is hidden"
},
"displayName": {
"type": "string",
"description": "Display name for the template"
},
"templateKey": {
"type": "string",
"description": "Unique template key"
},
"copyInstanceOnItemCopy": {
"type": "boolean",
"default": false,
"description": "Copy metadata when item is copied"
}
}
}box_delete_metadata_templateDelete a metadata template. Warning: This removes all instances of this template.
Args:
Returns: Confirmation of deletion.
{
"type": "object",
"required": [
"scope",
"templateKey"
],
"properties": {
"scope": {
"type": "string",
"description": "Template scope"
},
"templateKey": {
"type": "string",
"description": "Template key"
}
}
}box_list_file_metadataList all metadata instances on a file.
Args:
Returns: List of metadata instances on the file.
{
"type": "object",
"required": [
"fileId"
],
"properties": {
"fileId": {
"type": "string",
"description": "The ID of the file"
},
"format": {
"enum": [
"json",
"markdown"
],
"type": "string",
"default": "json",
"description": "Response format"
}
}
}box_get_file_metadataGet a specific metadata instance on a file.
Args:
Returns: The metadata instance.
{
"type": "object",
"required": [
"fileId",
"scope",
"templateKey"
],
"properties": {
"scope": {
"type": "string",
"description": "Template scope"
},
"fileId": {
"type": "string",
"description": "The ID of the file"
},
"format": {
"enum": [
"json",
"markdown"
],
"type": "string",
"default": "json",
"description": "Response format"
},
"templateKey": {
"type": "string",
"description": "Template key"
}
}
}box_create_file_metadataApply a metadata template to a file.
Args:
Returns: The created metadata instance.
{
"type": "object",
"required": [
"fileId",
"scope",
"templateKey",
"metadata"
],
"properties": {
"scope": {
"type": "string",
"description": "Template scope"
},
"fileId": {
"type": "string",
"description": "The ID of the file"
},
"metadata": {
"type": "string",
"description": "JSON object with metadata values"
},
"templateKey": {
"type": "string",
"description": "Template key"
}
}
}box_update_file_metadataUpdate metadata on a file using JSON Patch operations.
Args:
Operations format: [ { "op": "replace", "path": "/field_key", "value": "new value" }, { "op": "add", "path": "/new_field", "value": "value" }, { "op": "remove", "path": "/field_to_remove" } ]
Returns: The updated metadata instance.
{
"type": "object",
"required": [
"fileId",
"scope",
"templateKey",
"operations"
],
"properties": {
"scope": {
"type": "string",
"description": "Template scope"
},
"fileId": {
"type": "string",
"description": "The ID of the file"
},
"operations": {
"type": "string",
"description": "JSON array of patch operations"
},
"templateKey": {
"type": "string",
"description": "Template key"
}
}
}box_get_folder_metadataGet a specific metadata instance on a folder.
Args:
Returns: The metadata instance.
{
"type": "object",
"required": [
"folderId",
"scope",
"templateKey"
],
"properties": {
"scope": {
"type": "string",
"description": "Template scope"
},
"format": {
"enum": [
"json",
"markdown"
],
"type": "string",
"default": "json",
"description": "Response format"
},
"folderId": {
"type": "string",
"description": "The ID of the folder"
},
"templateKey": {
"type": "string",
"description": "Template key"
}
}
}box_create_folder_metadataApply a metadata template to a folder.
Args:
Returns: The created metadata instance.
{
"type": "object",
"required": [
"folderId",
"scope",
"templateKey",
"metadata"
],
"properties": {
"scope": {
"type": "string",
"description": "Template scope"
},
"folderId": {
"type": "string",
"description": "The ID of the folder"
},
"metadata": {
"type": "string",
"description": "JSON object with metadata values"
},
"templateKey": {
"type": "string",
"description": "Template key"
}
}
}box_update_folder_metadataUpdate metadata on a folder using JSON Patch operations.
Args:
Returns: The updated metadata instance.
{
"type": "object",
"required": [
"folderId",
"scope",
"templateKey",
"operations"
],
"properties": {
"scope": {
"type": "string",
"description": "Template scope"
},
"folderId": {
"type": "string",
"description": "The ID of the folder"
},
"operations": {
"type": "string",
"description": "JSON array of patch operations"
},
"templateKey": {
"type": "string",
"description": "Template key"
}
}
}box_delete_folder_metadataRemove a metadata instance from a folder.
Args:
Returns: Confirmation of removal.
{
"type": "object",
"required": [
"folderId",
"scope",
"templateKey"
],
"properties": {
"scope": {
"type": "string",
"description": "Template scope"
},
"folderId": {
"type": "string",
"description": "The ID of the folder"
},
"templateKey": {
"type": "string",
"description": "Template key"
}
}
}box_searchSearch for files, folders, and web links.
Args:
Returns: Search results with files, folders, and web links matching the query.
{
"type": "object",
"required": [
"query"
],
"properties": {
"sort": {
"type": "string",
"description": "Sort field"
},
"type": {
"enum": [
"file",
"folder",
"web_link"
],
"type": "string",
"description": "Filter by item type"
},
"limit": {
"type": "integer",
"default": 30,
"maximum": 200,
"minimum": 1,
"description": "Maximum results"
},
"query": {
"type": "string",
"description": "Search query string"
},
"fields": {
"type": "string",
"description": "Fields to include"
},
"format": {
"enum": [
"json",
"markdown"
],
"type": "string",
"default": "json",
"description": "Response format"
},
"offset": {
"type": "integer",
"default": 0,
"minimum": 0,
"description": "Offset for pagination"
},
"direction": {
"enum": [
"ASC",
"DESC"
],
"type": "string",
"description": "Sort direction"
},
"sizeRange": {
"type": "string",
"description": "Size range in bytes as min,max"
},
"contentTypes": {
"type": "string",
"description": "Content types to search"
},
"ownerUserIds": {
"type": "string",
"description": "Comma-separated owner user IDs"
},
"trashContent": {
"enum": [
"non_trashed_only",
"trashed_only",
"all_items"
],
"type": "string",
"description": "Include trash"
},
"createdAtRange": {
"type": "string",
"description": "Created date range as from,to"
},
"fileExtensions": {
"type": "string",
"description": "Comma-separated file extensions"
},
"updatedAtRange": {
"type": "string",
"description": "Updated date range as from,to"
},
"ancestorFolderIds": {
"type": "string",
"description": "Comma-separated folder IDs to search within"
}
}
}box_get_shared_itemGet an item using a shared link URL.
Args:
Returns: The file, folder, or web link accessible via the shared link.
{
"type": "object",
"required": [
"sharedLink"
],
"properties": {
"format": {
"enum": [
"json",
"markdown"
],
"type": "string",
"default": "json",
"description": "Response format"
},
"password": {
"type": "string",
"description": "Password if required"
},
"sharedLink": {
"type": "string",
"description": "The shared link URL"
}
}
}box_create_file_shared_linkCreate or update a shared link for a file.
Args:
Returns: The file with its shared_link information.
{
"type": "object",
"required": [
"fileId"
],
"properties": {
"access": {
"enum": [
"open",
"company",
"collaborators"
],
"type": "string",
"description": "Access level"
},
"fileId": {
"type": "string",
"description": "The ID of the file"
},
"canEdit": {
"type": "boolean",
"description": "Allow editing"
},
"password": {
"type": "string",
"description": "Password for the shared link"
},
"canPreview": {
"type": "boolean",
"description": "Allow preview"
},
"unsharedAt": {
"type": "string",
"description": "When the link expires (ISO 8601)"
},
"canDownload": {
"type": "boolean",
"description": "Allow download"
}
}
}box_get_userGet information about a specific user.
Args:
Returns: User details including name, login, status, and more.
{
"type": "object",
"required": [
"userId"
],
"properties": {
"fields": {
"type": "string",
"description": "Comma-separated list of fields to include"
},
"format": {
"enum": [
"json",
"markdown"
],
"type": "string",
"default": "json",
"description": "Response format"
},
"userId": {
"type": "string",
"description": "The ID of the user"
}
}
}box_create_folder_shared_linkCreate or update a shared link for a folder.
Args:
Returns: The folder with its shared_link information.
{
"type": "object",
"required": [
"folderId"
],
"properties": {
"access": {
"enum": [
"open",
"company",
"collaborators"
],
"type": "string",
"description": "Access level"
},
"folderId": {
"type": "string",
"description": "The ID of the folder"
},
"password": {
"type": "string",
"description": "Password for the shared link"
},
"canPreview": {
"type": "boolean",
"description": "Allow preview"
},
"unsharedAt": {
"type": "string",
"description": "When the link expires (ISO 8601)"
},
"canDownload": {
"type": "boolean",
"description": "Allow download"
}
}
}box_remove_file_shared_linkRemove the shared link from a file.
Args:
Returns: Confirmation of removal.
{
"type": "object",
"required": [
"fileId"
],
"properties": {
"fileId": {
"type": "string",
"description": "The ID of the file"
}
}
}box_remove_folder_shared_linkRemove the shared link from a folder.
Args:
Returns: Confirmation of removal.
{
"type": "object",
"required": [
"folderId"
],
"properties": {
"folderId": {
"type": "string",
"description": "The ID of the folder"
}
}
}box_get_taskGet details about a specific task.
Args:
Returns: Task details including message, due date, assignments, and status.
{
"type": "object",
"required": [
"taskId"
],
"properties": {
"format": {
"enum": [
"json",
"markdown"
],
"type": "string",
"default": "json",
"description": "Response format"
},
"taskId": {
"type": "string",
"description": "The ID of the task"
}
}
}box_create_taskCreate a task on a file.
Args:
Returns: The created task object.
{
"type": "object",
"required": [
"fileId"
],
"properties": {
"dueAt": {
"type": "string",
"description": "Due date in ISO 8601 format"
},
"action": {
"enum": [
"review",
"complete"
],
"type": "string",
"default": "review",
"description": "Task action type"
},
"fileId": {
"type": "string",
"description": "The ID of the file"
},
"message": {
"type": "string",
"description": "Message/instructions for the task"
},
"completionRule": {
"enum": [
"all_assignees",
"any_assignee"
],
"type": "string",
"description": "How task is completed"
}
}
}box_update_taskUpdate an existing task.
Args:
Returns: The updated task object.
{
"type": "object",
"required": [
"taskId"
],
"properties": {
"dueAt": {
"type": "string",
"description": "New due date in ISO 8601 format"
},
"action": {
"enum": [
"review",
"complete"
],
"type": "string",
"description": "Task action type"
},
"taskId": {
"type": "string",
"description": "The ID of the task to update"
},
"message": {
"type": "string",
"description": "New message/instructions"
},
"completionRule": {
"enum": [
"all_assignees",
"any_assignee"
],
"type": "string",
"description": "How task is completed"
}
}
}box_delete_taskDelete a task.
Args:
Returns: Confirmation of deletion.
{
"type": "object",
"required": [
"taskId"
],
"properties": {
"taskId": {
"type": "string",
"description": "The ID of the task to delete"
}
}
}box_get_task_assignmentsGet all assignments for a task.
Args:
Returns: List of task assignments.
{
"type": "object",
"required": [
"taskId"
],
"properties": {
"format": {
"enum": [
"json",
"markdown"
],
"type": "string",
"default": "json",
"description": "Response format"
},
"taskId": {
"type": "string",
"description": "The ID of the task"
}
}
}box_get_task_assignmentGet details about a specific task assignment.
Args:
Returns: Task assignment details.
{
"type": "object",
"required": [
"assignmentId"
],
"properties": {
"format": {
"enum": [
"json",
"markdown"
],
"type": "string",
"default": "json",
"description": "Response format"
},
"assignmentId": {
"type": "string",
"description": "The ID of the task assignment"
}
}
}box_create_task_assignmentAssign a task to a user.
Args:
Returns: The created task assignment.
{
"type": "object",
"required": [
"taskId",
"userId"
],
"properties": {
"taskId": {
"type": "string",
"description": "The ID of the task"
},
"userId": {
"type": "string",
"description": "The ID of the user to assign"
}
}
}box_update_task_assignmentUpdate a task assignment (e.g., mark as complete).
Args:
Returns: The updated task assignment.
{
"type": "object",
"required": [
"assignmentId"
],
"properties": {
"message": {
"type": "string",
"description": "Optional message/comment"
},
"assignmentId": {
"type": "string",
"description": "The ID of the task assignment"
},
"resolutionState": {
"enum": [
"completed",
"incomplete",
"approved",
"rejected"
],
"type": "string",
"description": "Resolution state"
}
}
}box_delete_task_assignmentRemove a task assignment.
Args:
Returns: Confirmation of removal.
{
"type": "object",
"required": [
"assignmentId"
],
"properties": {
"assignmentId": {
"type": "string",
"description": "The ID of the task assignment to remove"
}
}
}box_get_current_userGet information about the currently authenticated user.
Args:
Returns: Current user details including name, login, status, and more.
{
"type": "object",
"properties": {
"fields": {
"type": "string",
"description": "Comma-separated list of fields to include"
},
"format": {
"enum": [
"json",
"markdown"
],
"type": "string",
"default": "json",
"description": "Response format"
}
}
}box_list_usersList all users in the enterprise.
Args:
Returns: Paginated list of users.
{
"type": "object",
"properties": {
"limit": {
"type": "integer",
"default": 100,
"maximum": 1000,
"minimum": 1,
"description": "Maximum number of users to return"
},
"format": {
"enum": [
"json",
"markdown"
],
"type": "string",
"default": "json",
"description": "Response format"
},
"offset": {
"type": "integer",
"default": 0,
"minimum": 0,
"description": "Offset for pagination"
},
"userType": {
"type": "string",
"description": "Filter by user type"
},
"filterTerm": {
"type": "string",
"description": "Search term to filter users"
}
}
}box_create_userCreate a new managed user in the enterprise.
Args:
Returns: The created user object.
{
"type": "object",
"required": [
"login",
"name"
],
"properties": {
"name": {
"type": "string",
"description": "User's display name"
},
"role": {
"enum": [
"admin",
"coadmin",
"user"
],
"type": "string",
"description": "User role"
},
"login": {
"type": "string",
"description": "User's login email"
},
"phone": {
"type": "string",
"description": "User's phone number"
},
"address": {
"type": "string",
"description": "User's address"
},
"jobTitle": {
"type": "string",
"description": "User's job title"
},
"language": {
"type": "string",
"description": "User's language"
},
"timezone": {
"type": "string",
"description": "User's timezone"
},
"spaceAmount": {
"type": "integer",
"description": "User's total available space in bytes"
},
"isPlatformAccessOnly": {
"type": "boolean",
"description": "Whether user is app user only"
}
}
}box_update_userUpdate a user's information.
Args:
Returns: The updated user object.
{
"type": "object",
"required": [
"userId"
],
"properties": {
"name": {
"type": "string",
"description": "New display name"
},
"role": {
"enum": [
"admin",
"coadmin",
"user"
],
"type": "string",
"description": "New role"
},
"login": {
"type": "string",
"description": "New login email"
},
"phone": {
"type": "string",
"description": "New phone number"
},
"notify": {
"type": "boolean",
"description": "Whether to send notification email"
},
"status": {
"enum": [
"active",
"inactive"
],
"type": "string",
"description": "User status"
},
"userId": {
"type": "string",
"description": "The ID of the user to update"
},
"address": {
"type": "string",
"description": "New address"
},
"jobTitle": {
"type": "string",
"description": "New job title"
}
}
}box_delete_userDelete a user from the enterprise.
Args:
Returns: Confirmation of deletion.
{
"type": "object",
"required": [
"userId"
],
"properties": {
"force": {
"type": "boolean",
"default": false,
"description": "Whether to force delete"
},
"notify": {
"type": "boolean",
"default": true,
"description": "Whether to send a notification email"
},
"userId": {
"type": "string",
"description": "The ID of the user to delete"
}
}
}box_get_user_membershipsGet all group memberships for a user.
Args:
Returns: List of group memberships for the user.
{
"type": "object",
"required": [
"userId"
],
"properties": {
"limit": {
"type": "integer",
"default": 100,
"maximum": 1000,
"minimum": 1,
"description": "Maximum number to return"
},
"format": {
"enum": [
"json",
"markdown"
],
"type": "string",
"default": "json",
"description": "Response format"
},
"offset": {
"type": "integer",
"default": 0,
"minimum": 0,
"description": "Offset for pagination"
},
"userId": {
"type": "string",
"description": "The ID of the user"
}
}
}box_get_web_linkGet details about a web link (bookmark).
Args:
Returns: Web link details including URL, name, and parent folder.
{
"type": "object",
"required": [
"webLinkId"
],
"properties": {
"format": {
"enum": [
"json",
"markdown"
],
"type": "string",
"default": "json",
"description": "Response format"
},
"webLinkId": {
"type": "string",
"description": "The ID of the web link"
}
}
}box_create_web_linkCreate a web link (bookmark) in a folder.
Args:
Returns: The created web link.
{
"type": "object",
"required": [
"folderId",
"url"
],
"properties": {
"url": {
"type": "string",
"description": "The URL the web link points to"
},
"name": {
"type": "string",
"description": "Name for the web link"
},
"folderId": {
"type": "string",
"description": "The ID of the parent folder"
},
"description": {
"type": "string",
"description": "Description"
}
}
}box_update_web_linkUpdate a web link's properties.
Args:
Returns: The updated web link.
{
"type": "object",
"required": [
"webLinkId"
],
"properties": {
"url": {
"type": "string",
"description": "New URL"
},
"name": {
"type": "string",
"description": "New name"
},
"parentId": {
"type": "string",
"description": "Move to this folder ID"
},
"webLinkId": {
"type": "string",
"description": "The ID of the web link to update"
},
"description": {
"type": "string",
"description": "New description"
}
}
}box_delete_web_linkDelete a web link (moves to trash).
Args:
Returns: Confirmation of deletion.
{
"type": "object",
"required": [
"webLinkId"
],
"properties": {
"webLinkId": {
"type": "string",
"description": "The ID of the web link to delete"
}
}
}box_get_trashed_web_linkGet information about a web link in trash.
Args:
Returns: The trashed web link details.
{
"type": "object",
"required": [
"webLinkId"
],
"properties": {
"format": {
"enum": [
"json",
"markdown"
],
"type": "string",
"default": "json",
"description": "Response format"
},
"webLinkId": {
"type": "string",
"description": "The ID of the trashed web link"
}
}
}box_restore_web_linkRestore a web link from trash.
Args:
Returns: The restored web link.
{
"type": "object",
"required": [
"webLinkId"
],
"properties": {
"name": {
"type": "string",
"description": "Optional new name"
},
"parentId": {
"type": "string",
"description": "Optional folder ID to restore to"
},
"webLinkId": {
"type": "string",
"description": "The ID of the web link to restore"
}
}
}box_permanently_delete_web_linkPermanently delete a web link from trash. This cannot be undone.
Args:
Returns: Confirmation of permanent deletion.
{
"type": "object",
"required": [
"webLinkId"
],
"properties": {
"webLinkId": {
"type": "string",
"description": "The ID of the web link to permanently delete"
}
}
}box_list_webhooksList all webhooks.
Args:
Returns: List of webhooks.
{
"type": "object",
"properties": {
"limit": {
"type": "integer",
"default": 100,
"maximum": 200,
"minimum": 1,
"description": "Maximum number to return"
},
"format": {
"enum": [
"json",
"markdown"
],
"type": "string",
"default": "json",
"description": "Response format"
},
"marker": {
"type": "string",
"description": "Pagination marker"
}
}
}box_get_webhookGet details about a specific webhook.
Args:
Returns: Webhook details including target, triggers, and address.
{
"type": "object",
"required": [
"webhookId"
],
"properties": {
"format": {
"enum": [
"json",
"markdown"
],
"type": "string",
"default": "json",
"description": "Response format"
},
"webhookId": {
"type": "string",
"description": "The ID of the webhook"
}
}
}box_create_webhookCreate a webhook on a file or folder.
Args:
Available triggers for files: FILE.UPLOADED, FILE.PREVIEWED, FILE.DOWNLOADED, FILE.TRASHED, FILE.DELETED, FILE.RESTORED, FILE.COPIED, FILE.MOVED, FILE.LOCKED, FILE.UNLOCKED, FILE.RENAMED, COMMENT.CREATED, COMMENT.UPDATED, COMMENT.DELETED, TASK_ASSIGNMENT.CREATED, TASK_ASSIGNMENT.UPDATED, METADATA_INSTANCE.CREATED, METADATA_INSTANCE.UPDATED, METADATA_INSTANCE.DELETED, SHARED_LINK.CREATED, SHARED_LINK.DELETED, SHARED_LINK.UPDATED
Available triggers for folders: FOLDER.CREATED, FOLDER.RENAMED, FOLDER.DOWNLOADED, FOLDER.RESTORED, FOLDER.DELETED, FOLDER.COPIED, FOLDER.MOVED, FOLDER.TRASHED
Returns: The created webhook.
{
"type": "object",
"required": [
"targetId",
"targetType",
"address",
"triggers"
],
"properties": {
"address": {
"type": "string",
"description": "URL to receive webhook notifications"
},
"targetId": {
"type": "string",
"description": "The ID of the file or folder"
},
"triggers": {
"type": "string",
"description": "Comma-separated list of event triggers"
},
"targetType": {
"enum": [
"file",
"folder"
],
"type": "string",
"description": "Type of target"
}
}
}box_update_webhookUpdate a webhook's address or triggers.
Args:
Returns: The updated webhook.
{
"type": "object",
"required": [
"webhookId"
],
"properties": {
"address": {
"type": "string",
"description": "New URL to receive notifications"
},
"triggers": {
"type": "string",
"description": "New comma-separated list of triggers"
},
"webhookId": {
"type": "string",
"description": "The ID of the webhook to update"
}
}
}box_delete_webhookDelete a webhook.
Args:
Returns: Confirmation of deletion.
{
"type": "object",
"required": [
"webhookId"
],
"properties": {
"webhookId": {
"type": "string",
"description": "The ID of the webhook to delete"
}
}
}