# Box — MCP server on mcp.ai > Box is a cloud content management platform for secure file storage, sharing, collaboration, and governance. By: mcp.ai · official Page: https://mcp.ai/box ## Connect (MCP protocol) Remote MCP endpoint (HTTP, streamable): https://api.mcp.ai/p_box?ms=1781542260000 Add it as a custom/remote MCP connector, then authenticate when prompted. ## REST API (no MCP client required) Every tool is also a REST endpoint, authed with a workspace API key. Discover: GET https://api.mcp.ai/api/box/_endpoints # public; lists every endpoint Call: POST https://api.mcp.ai/api/box/ Authorization: Bearer sk_live_… # create one at https://mcp.ai/settings/api-keys Content-Type: application/json Body: { …args } → { "ok": true, "tool": "", "result": { … } } ## Developer docs How to use (MCP or REST), markdown: https://mcp.ai/box/skill.md Postman collection (v2.1): https://mcp.ai/box/postman.json ## Tools - box_add_classification_to_file(file_id: string, Box__Security__Classification__Key?: string) — Adds a classification to a file by specifying the label of the classification to add. this api can also be called by including the enterprise id in the url explicitly, for example `/files/:id//enterpr - box_add_classification_to_folder(folder_id: string, Box__Security__Classification__Key?: string) — Adds a classification to a folder by specifying the label of the classification to add. this api can also be called by including the enterprise id in the url explicitly, for example `/folders/:id/ente - box_add_domain_to_list_of_allowed_collaboration_domains(domain: string, direction: string) — Creates a new entry in the list of allowed domains to allow collaboration for. - box_add_initial_classifications(scope: string, fields: object[], hidden?: boolean, displayName: string, templateKey: string, copyInstanceOnItemCopy?: boolean) — When an enterprise does not yet have any classifications, this api call initializes the classification template with an initial set of classifications. if an enterprise already has a classification, t - box_add_or_update_user_avatar(pic?: object, user_id: string) — Adds or updates a user avatar. - box_add_shared_link_to_file(fields: string, file_id: string, shared__link__access?: string, shared__link__password?: string, shared__link__unshared__at?: string, shared__link__vanity__name?: string, shared__link__permissions__can__edit?: boolean, shared__link__permissions__can__preview?: boolean, shared__link__permissions__can__download?: boolean) — Adds a shared link to a file. - box_add_shared_link_to_folder(fields: string, folder_id: string, shared__link__access?: string, shared__link__password?: string, shared__link__unshared__at?: string, shared__link__vanity__name?: string, shared__link__permissions__can__edit?: boolean, shared__link__permissions__can__preview?: boolean, shared__link__permissions__can__download?: boolean) — Adds a shared link to a folder. - box_add_shared_link_to_web_link(fields: string, web_link_id: string, shared__link__access?: string, shared__link__password?: string, shared__link__unshared__at?: string, shared__link__vanity__name?: string, shared__link__permissions__can__edit?: boolean, shared__link__permissions__can__preview?: boolean, shared__link__permissions__can__download?: boolean) — Adds a shared link to a web link. - box_add_user_to_group(role?: string, fields?: string[], user__id?: string, group__id?: string, configurable_permissions?: object) — Creates a group membership. only users with admin-level permissions will be able to use this api. - box_apply_watermark_to_file(file_id: string, watermark__imprint?: string) — Applies or update a watermark on a file. - box_apply_watermark_to_folder(folder_id: string, watermark__imprint?: string) — Applies or update a watermark on a folder. - box_ask_question(mode: string, items: object[], prompt: string, dialogue_history?: object[], include_citations?: boolean) — Sends an ai request to supported llms and returns an answer specifically focused on the user's question given the provided context. - box_assign_legal_hold_policy(policy_id: string, assign__to__id?: string, assign__to__type?: string) — Assign a legal hold to a file, file version, folder, or user. - box_assign_retention_policy(policy_id: string, filter_fields?: object[], assign__to__id?: string, assign__to__type?: string, start_date_field?: string) — Assigns a retention policy to an item. - box_assign_storage_policy(assigned__to__id?: string, assigned__to__type?: string, storage__policy__id?: string, storage__policy__type?: string) — Creates a storage policy assignment for an enterprise or user. - box_assign_task(task__id?: string, task__type?: string, assign__to__id?: string, assign__to__login?: string) — Assigns a task to a user. a task can be assigned to more than one user by creating multiple assignments. - box_authorize_user(scope?: string, state?: string, client_id: string, redirect_uri?: string, response_type: string) — Authorize a user by sending them through the [box](https://box.com) website and request their permission to act on their behalf. this is the first step when authenticating a user using oauth 2.0. to r - box_cancel_box_sign_request(sign_request_id: string) — Cancels a sign request. - box_change_shield_information_barrier_status(id: string, status: string) — Change status of shield information barrier with the specified id. - box_commit_upload_session(parts: string[], upload_session_id: string) — Close an upload session and create a file from the uploaded chunks. the actual endpoint url is returned by the [`create upload session`](e://post-files-upload-sessions) and [`get upload session`](e:// - box_copy_file(name?: string, fields?: string[], file_id: string, version?: string, parent__id?: string) — Creates a copy of a file. - box_copy_file_request(file_request_id: string) — Copies an existing file request that is already present on one folder, and applies it to another folder. - box_copy_folder(name?: string, fields?: string[], folder_id: string, parent__id?: string) — Creates a copy of a folder within a destination folder. the original folder will not be changed. - box_create_ai_agent(name: string, type: string, ask__type?: string, access_state: string, extract__type?: string, icon_reference?: string, text__gen__type?: string, allowed_entities?: object[], ask__description?: string, ask__access__state?: string, extract__description?: string, extract__access__state?: string, text__gen__description?: string, text__gen__access__state?: string, ask__custom__instructions?: string, extract__custom__instructions?: string, text__gen__custom__instructions?: string) — Creates an ai agent. at least one of the following capabilities must be provided: `ask`, `text gen`, `extract`. - box_create_box_sign_request() — Creates a signature request. this involves preparing a document for signing and sending the signature request to signers. - box_create_box_skill_cards_on_file(cards: object[], file_id: string) — Applies one or more box skills metadata cards to a file. - box_create_collaboration(role: string, fields?: string[], notify?: boolean, item__id?: string, expires_at?: string, item__type?: string, can_view_path?: boolean, is_access_only?: boolean, accessible__by__id?: string, accessible__by__type?: string, accessible__by__login?: string) — Adds a collaboration for a single user or a single group to a file or folder. collaborations can be created using email address, user ids, or a group ids. if a collaboration is being created with a gr - box_create_comment(fields?: string[], message: string, item__id?: string, item__type?: string, tagged_message?: string) — Adds a comment by the user to a specific file, or as a reply to an other comment. - box_create_email_alias(email: string, user_id: string) — Adds a new email alias to a user account.. - box_create_folder(name: string, fields?: string[], parent__id?: string, sync_state?: string) — Creates a new empty folder within the specified parent folder. - box_create_folder_lock(folder__id?: string, folder__type?: string, locked__operations__move?: boolean, locked__operations__delete?: boolean) — Creates a folder lock on a folder, preventing it from being moved and/or deleted. you must be authenticated as the owner or co-owner of the folder to use this endpoint. - box_create_group(name: string, fields?: string[], provenance?: string, description?: string, invitability_level?: string, external_sync_identifier?: string, member_viewability_level?: string) — Creates a new group of users in an enterprise. only users with admin permissions can create new groups. - box_create_jobs_to_terminate_user_group_session(group_ids: string[]) — Validates the roles and permissions of the group, and creates asynchronous jobs to terminate the group's sessions. returns the status for the post request. - box_create_jobs_to_terminate_users_session(user_ids: string[], user_logins: string[]) — Validates the roles and permissions of the user, and creates asynchronous jobs to terminate the user's sessions. returns the status for the post request. - box_create_legal_hold_policy(is_ongoing?: boolean, description?: string, policy_name: string, filter_ended_at?: string, filter_started_at?: string) — Create a new legal hold policy. - box_create_metadata_cascade_policy(scope: string, folder_id: string, templateKey: string) — Creates a new metadata cascade policy that applies a given metadata template to a given folder and automatically cascades it down to any files within that folder. in order for the policy to be applied - box_create_metadata_instance_on_file(scope: string, file_id: string, template_key: string) — Applies an instance of a metadata template to a file. in most cases only values that are present in the metadata template will be accepted, except for the `global.properties` template which accepts an - box_create_metadata_instance_on_folder(scope: string, folder_id: string, template_key: string) — Applies an instance of a metadata template to a folder. in most cases only values that are present in the metadata template will be accepted, except for the `global.properties` template which accepts - box_create_metadata_template(scope: string, fields?: object[], hidden?: boolean, displayName: string, templateKey?: string, copyInstanceOnItemCopy?: boolean) — Creates a new metadata template that can be applied to files and folders. - box_create_retention_policy(description?: string, policy_name: string, policy_type: string, retention_type?: string, retention_length?: string, disposition_action: string, are_owners_notified?: boolean, can_owner_extend_retention?: boolean, custom_notification_recipients?: string[]) — Creates a retention policy. - box_create_shield_information_barrier() — Creates a shield information barrier to separate individuals/groups within the same firm and prevents confidential information passing between them. - box_create_shield_information_barrier_report(shield__information__barrier__id?: string, shield__information__barrier__type?: string) — Creates a shield information barrier report for a given barrier. - box_create_shield_information_barrier_segment(name: string, description?: string, shield__information__barrier__id?: string, shield__information__barrier__type?: string) — Creates a shield information barrier segment. - box_create_shield_information_barrier_segment_member(type?: string, shield__information__barrier__id?: string, shield__information__barrier__type?: string, shield__information__barrier__segment__id?: string, shield__information__barrier__segment__type?: string) — Creates a new shield information barrier segment member. - box_create_shield_information_barrier_segment_restriction(type: string, restricted__segment__id?: string, restricted__segment__type?: string, shield__information__barrier__id?: string, shield__information__barrier__type?: string, shield__information__barrier__segment__id?: string, shield__information__barrier__segment__type?: string) — Creates a shield information barrier segment restriction object. - box_create_slack_integration_mapping() — Creates a [slack integration mapping](https://support.box.com/hc/en-us/articles/4415585987859-box-as-the-content-layer-for-slack) by mapping a slack channel to a box item. you need admin or co-admin r - box_create_task(action?: string, due_at?: string, message?: string, item__id?: string, item__type?: string, completion_rule?: string) — Creates a single task on a file. this task is not assigned to any user and will need to be assigned separately. - box_create_teams_integration_mapping() — Creates a [teams integration mapping](https://support.box.com/hc/en-us/articles/360044681474-using-box-for-teams) by mapping a teams channel to a box item. you need admin or co-admin role to use this - box_create_terms_of_service(text: string, status: string, tos_type?: string) — Creates a terms of service for a given enterprise and type of user. - box_create_terms_of_service_status_for_new_user(tos__id?: string, user__id?: string, tos__type?: string, user__type?: string, is_accepted: boolean) — Sets the status for a terms of service for a user. - box_create_upload_session(file_name: string, file_size: integer, folder_id: string) — Creates an upload session for a new file. - box_create_upload_session_for_existing_file(file_id: string, file_name?: string, file_size: integer) — Creates an upload session for an existing file. - box_create_user(name: string, role?: string, login?: string, phone?: string, fields?: string[], status?: string, address?: string, language?: string, timezone?: string, job_title?: string, space_amount?: integer, tracking_codes?: object[], is_sync_enabled?: boolean, external_app_user_id?: string, can_see_managed_users?: boolean, is_platform_access_only?: boolean, is_exempt_from_device_limits?: boolean, is_external_collab_restricted?: boolean, is_exempt_from_login_verification?: boolean) — Creates a new managed user in an enterprise. this endpoint is only available to users and applications with the right admin permissions. - box_create_user_exemption_from_collaboration_domain_restrictions(user__id?: string) — Create user exemption from collaboration domain restrictions. - box_create_user_invite(fields?: string[], enterprise__id?: string, actionable__by__login?: string) — Invites an existing external user to join an enterprise. the existing user can not be part of another enterprise and must already have a box account. once invited, the user will receive an email and a - box_create_web_link(url: string, name?: string, parent__id?: string, description?: string) — Creates a web link object within a folder. - box_create_webhook(address: string, triggers: string[], target__id?: string, target__type?: string) — Creates a webhook. - box_create_zip_download(items: object[], download_file_name?: string) — Creates a request to download multiple files and folders as a single `zip` archive file. this api does not return the archive but instead performs all the checks to ensure that the user has access to - box_delete_ai_agent(agent_id: string) — Deletes an ai agent using the provided parameters. - box_delete_file(file_id: string) — Deletes a file, either permanently or by moving it to the trash. the the enterprise settings determine whether the item will be permanently deleted from box or moved to the trash. - box_delete_file_request(file_request_id: string) — Deletes a file request permanently. - box_delete_folder(folder_id: string, recursive?: boolean) — Deletes a folder, either permanently or by moving it to the trash. - box_delete_folder_lock(folder_lock_id: string) — Deletes a folder lock on a given folder. you must be authenticated as the owner or co-owner of the folder to use this endpoint. - box_delete_retention_policy(retention_policy_id: string) — Permanently deletes a retention policy. - box_delete_shield_information_barrier_segment(shield_information_barrier_segment_id: string) — Deletes the shield information barrier segment based on provided id. - box_delete_shield_information_barrier_segment_member_by_id(shield_information_barrier_segment_member_id: string) — Deletes a shield information barrier segment member based on provided id. - box_delete_shield_information_barrier_segment_restriction_by_id(shield_information_barrier_segment_restriction_id: string) — Delete shield information barrier segment restriction by id. - box_delete_slack_integration_mapping(integration_mapping_id: string) — Deletes a [slack integration mapping](https://support.box.com/hc/en-us/articles/4415585987859-box-as-the-content-layer-for-slack). you need admin or co-admin role to use this endpoint. - box_delete_teams_integration_mapping(integration_mapping_id: string) — Deletes a [teams integration mapping](https://support.box.com/hc/en-us/articles/360044681474-using-box-for-teams). you need admin or co-admin role to use this endpoint. - box_delete_user(force?: boolean, notify?: boolean, user_id: string) — Deletes a user. by default this will fail if the user still owns any content. move their owned content first before proceeding, or use the `force` field to delete the user and their files. - box_delete_user_avatar(user_id: string) — Removes an existing user avatar. you cannot reverse this operation. - box_download_file(file_id: string, version?: string, access_token?: string) — Returns the contents of a file in binary format. - box_download_zip_archive(zip_download_id: string) — Returns the contents of a `zip` archive in binary format. this url does not require any form of authentication and could be used in a user's browser to download the archive to a user's device. by defa - box_extract_metadata_freeform(items: object[], prompt: string) — Sends an ai request to supported large language models (llms) and extracts metadata in form of key-value pairs. in this request, both the prompt and the output can be freeform. metadata template setup - box_extract_metadata_structured(items: object[], fields?: object[], metadata__template__type?: string, metadata__template__scope?: string, metadata__template__template__key?: string) — Sends an ai request to supported large language models (llms) and returns extracted metadata as a set of key-value pairs. for this request, you either need a metadata template or a list of fields you - box_find_app_item_for_shared_link() — Returns the app item represented by a shared link. the link can originate from the current enterprise or another. - box_find_file_for_shared_link(fields?: string[]) — Returns the file represented by a shared link. a shared file can be represented by a shared link, which can originate within the current enterprise or within another. this endpoint allows an applicati - box_find_folder_for_shared_link(fields?: string[]) — Return the folder represented by a shared link. a shared folder can be represented by a shared link, which can originate within the current enterprise or within another. this endpoint allows an applic - box_find_metadata_template_by_instance_id(limit?: integer, marker?: string, metadata_instance_id: string) — Finds a metadata template by searching for the id of an instance of the template. - box_find_web_link_for_shared_link(fields?: string[]) — Returns the web link represented by a shared link. a shared web link can be represented by a shared link, which can originate within the current enterprise or within another. this endpoint allows an a - box_force_apply_metadata_cascade_policy_to_folder(conflict_resolution: string, metadata_cascade_policy_id: string) — Force the metadata on a folder with a metadata cascade policy to be applied to all of its children. this can be used after creating a new cascade policy to enforce the metadata to be cascaded down to - box_generate_text(items: object[], prompt: string, dialogue_history?: object[]) — Sends an ai request to supported large language models (llms) and returns generated text based on the provided prompt. - box_get_ai_agent_by_agent_id(fields?: string[], agent_id: string) — Gets an ai agent using the `agent id` parameter. - box_get_ai_agent_default_configuration(mode: string, model?: string, language?: string) — Get the ai agent default config - box_get_allowed_collaboration_domain(collaboration_whitelist_entry_id: string) — Returns a domain that has been deemed safe to create collaborations for within the current enterprise. - box_get_box_sign_request_by_id(sign_request_id: string) — Gets a sign request by id. - box_get_box_sign_template_by_id(template_id: string) — Fetches details of a specific box sign template. - box_get_classification_on_file(file_id: string) — Retrieves the classification metadata instance that has been applied to a file. this api can also be called by including the enterprise id in the url explicitly, for example `/files/:id//enterprise 12 - box_get_classification_on_folder(folder_id: string) — Retrieves the classification metadata instance that has been applied to a folder. this api can also be called by including the enterprise id in the url explicitly, for example `/folders/:id/enterprise - box_get_collaboration(fields?: string[], collaboration_id: string) — Retrieves a single collaboration. - box_get_collection_by_id(collection_id: string) — Retrieves a collection by its id. - box_get_comment(fields?: string[], comment_id: string) — Retrieves the message and metadata for a specific comment, as well as information on the user who created the comment. - box_get_current_user(fields?: string[]) — Retrieves information about the user who is currently authenticated. in the case of a client-side authenticated oauth 2.0 application this will be the user who authorized the app. in the case of a jwt - box_get_device_pin(device_pinner_id: string) — Retrieves information about an individual device pin. - box_get_events_long_poll_endpoint() — The listevents endpoint provides information about the events available in the box system. this options method allows developers to discover the capabilities and requirements for interacting with the - box_get_file_information(fields?: string[], file_id: string) — Retrieves the details about a file. - box_get_file_request(file_request_id: string) — Retrieves the information about a file request. - box_get_file_thumbnail(file_id: string, extension: string, max_width?: integer, min_width?: integer, max_height?: integer, min_height?: integer) — Retrieves a thumbnail, or smaller image representation, of a file. sizes of `32x32`,`64x64`, `128x128`, and `256x256` can be returned in the `.png` format and sizes of `32x32`, `160x160`, and `320x320 - box_get_file_version(fields?: string[], file_id: string, file_version_id: string) — Retrieve a specific version of a file. versions are only tracked for box users with premium accounts. - box_get_file_version_legal_hold(file_version_legal_hold_id: string) — Retrieves information about the legal hold policies assigned to a file version. - box_get_file_versions_under_retention(limit?: integer, marker?: string, retention_policy_assignment_id: string) — Returns a list of file versions under retention for a retention policy assignment. - box_get_files_under_retention(limit?: integer, marker?: string, retention_policy_assignment_id: string) — Returns a list of files under retention for a retention policy assignment. - box_get_folder_information(sort?: string, limit?: integer, fields?: string[], offset?: integer, direction?: string, folder_id: string) — Retrieves details for a folder, including the first 100 entries in the folder. passing `sort`, `direction`, `offset`, and `limit` parameters in query allows you to manage the list of returned [folder - box_get_group(fields?: string[], group_id: string) — Retrieves information about a group. only members of this group or users with admin-level permissions will be able to use this api. - box_get_group_membership(fields?: string[], group_membership_id: string) — Retrieves a specific group membership. only admins of this group or users with admin-level permissions will be able to use this api. - box_get_legal_hold_policy(legal_hold_policy_id: string) — Retrieve a legal hold policy. - box_get_legal_hold_policy_assignment(legal_hold_policy_assignment_id: string) — Retrieve a legal hold policy assignment. - box_get_metadata_cascade_policy(metadata_cascade_policy_id: string) — Retrieve a specific metadata cascade policy assigned to a folder. - box_get_metadata_instance_on_file(scope: string, file_id: string, template_key: string) — Retrieves the instance of a metadata template that has been applied to a file. - box_get_metadata_instance_on_folder(scope: string, folder_id: string, template_key: string) — Retrieves the instance of a metadata template that has been applied to a folder. this can not be used on the root folder with id `0`. - box_get_metadata_template_by_id(template_id: string) — Retrieves a metadata template by its id. - box_get_metadata_template_by_name(scope: string, template_key: string) — Retrieves a metadata template by its `scope` and `templatekey` values. to find the `scope` and `templatekey` for a template, list all templates for an enterprise or globally, or list all templates app - box_get_retention_on_file(file_version_retention_id: string) — Returns information about a file version retention. **note**: file retention api is now **deprecated**. to get information about files and file versions under retention, see [files under retention](e: - box_get_retention_policy(fields?: string[], retention_policy_id: string) — Retrieves a retention policy. - box_get_retention_policy_assignment(fields?: string[], retention_policy_assignment_id: string) — Retrieves a retention policy assignment - box_get_shared_link_for_file(fields: string, file_id: string) — Gets the information for a shared link on a file. - box_get_shared_link_for_folder(fields: string, folder_id: string) — Gets the information for a shared link on a folder. - box_get_shared_link_for_web_link(fields: string, web_link_id: string) — Gets the information for a shared link on a web link. - box_get_shield_information_barrier_report_by_id(shield_information_barrier_report_id: string) — Retrieves a shield information barrier report by its id. - box_get_shield_information_barrier_segment_member_by_id(shield_information_barrier_segment_member_id: string) — Retrieves a shield information barrier segment member by its id. - box_get_shield_information_barrier_segment_restriction_by_id(shield_information_barrier_segment_restriction_id: string) — Retrieves a shield information barrier segment restriction based on provided id. - box_get_shield_information_barrier_segment_with_specified_id(shield_information_barrier_segment_id: string) — Retrieves shield information barrier segment based on provided id.. - box_get_shield_information_barrier_with_specified_id(shield_information_barrier_id: string) — Get shield information barrier based on provided id. - box_get_storage_policy(storage_policy_id: string) — Fetches a specific storage policy. - box_get_storage_policy_assignment(storage_policy_assignment_id: string) — Fetches a specific storage policy assignment. - box_get_task(task_id: string) — Retrieves information about a specific task. - box_get_task_assignment(task_assignment_id: string) — Retrieves information about a task assignment. - box_get_terms_of_service(terms_of_service_id: string) — Fetches a specific terms of service. - box_get_trashed_file(fields?: string[], file_id: string) — Retrieves a file that has been moved to the trash. please note that only if the file itself has been moved to the trash can it be retrieved with this api call. if instead one of its parent folders was - box_get_trashed_folder(fields?: string[], folder_id: string) — Retrieves a folder that has been moved to the trash. please note that only if the folder itself has been moved to the trash can it be retrieved with this api call. if instead one of its parent folders - box_get_trashed_web_link(fields?: string[], web_link_id: string) — Retrieves a web link that has been moved to the trash. - box_get_upload_session(upload_session_id: string) — Return information about an upload session. the actual endpoint url is returned by the [`create upload session`](e://post-files-upload-sessions) endpoint. - box_get_user(fields?: string[], user_id: string) — Retrieves information about a user in the enterprise. the application and the authenticated user need to have the permission to look up users in the entire enterprise. this endpoint also returns a lim - box_get_user_avatar(user_id: string) — Retrieves an image of a the user's avatar. - box_get_user_exempt_from_collaboration_domain_restrictions(collaboration_whitelist_exempt_target_id: string) — Returns a users who has been exempt from the collaboration domain restrictions. - box_get_user_invite_status(fields?: string[], invite_id: string) — Returns the status of a user invite. - box_get_watermark_for_folder(folder_id: string) — Retrieve the watermark for a folder. - box_get_watermark_on_file(file_id: string) — Retrieve the watermark for a file. - box_get_web_link(web_link_id: string) — Retrieve information about a web link. - box_get_webhook(webhook_id: string) — Retrieves a specific webhook - box_get_zip_download_status(zip_download_id: string) — Returns the download status of a `zip` archive, allowing an application to inspect the progress of the download as well as the number of items that might have been skipped. this endpoint can only be a - box_list_ai_agents(mode?: string[], limit?: integer, fields?: string[], marker?: string, agent_state?: string[], include_box_default?: boolean) — Lists ai agents based on the provided parameters. - box_list_all_classifications() — Retrieves the classification metadata template and lists all the classifications available to this enterprise. this api can also be called by including the enterprise id in the url explicitly, for exa - box_list_all_collections(limit?: integer, fields?: string[], offset?: integer) — Retrieves all collections for a given user. currently, only the `favorites` collection is supported. - box_list_all_file_versions(limit?: integer, fields?: string[], offset?: integer, file_id: string) — Retrieve a list of the past versions for a file. versions are only tracked by box users with premium accounts. to fetch the id of the current version of a file, use the `get /file/:id` api. - box_list_all_global_metadata_templates(limit?: integer, marker?: string) — Used to retrieve all generic, global metadata templates available to all enterprises using box. - box_list_all_legal_hold_policies(limit?: integer, fields?: string[], marker?: string, policy_name?: string) — Retrieves a list of legal hold policies that belong to an enterprise. - box_list_all_metadata_templates_for_enterprise(limit?: integer, marker?: string) — Used to retrieve all metadata templates created to be used specifically within the user's enterprise - box_list_all_webhooks(limit?: integer, marker?: string) — Returns all defined webhooks for the requesting application. this api only returns webhooks that are applied to files or folders that are owned by the authenticated user. this means that an admin can - box_list_allowed_collaboration_domains(limit?: integer, marker?: string) — Returns the list domains that have been deemed safe to create collaborations for within the current enterprise. - box_list_box_sign_requests(limit?: integer, marker?: string, senders?: string[], shared_requests?: boolean) — Gets signature requests created by a user. if the `sign files` and/or `parent folder` are deleted, the signature request will not return in the list. - box_list_box_sign_templates(limit?: integer, marker?: string) — Gets box sign templates created by a user. - box_list_box_skill_cards_on_file(file_id: string) — List the box skills metadata cards that are attached to a file. - box_list_collection_items(limit?: integer, fields?: string[], offset?: integer, collection_id: string) — Retrieves the files and/or folders contained within this collection. - box_list_enterprise_device_pins(limit?: integer, marker?: string, direction?: string, enterprise_id: string) — Retrieves all the device pins within an enterprise. the user must have admin privileges, and the application needs the "manage enterprise" scope to make this call. - box_list_enterprise_users(limit?: integer, fields?: string[], marker?: string, offset?: integer, usemarker?: boolean, user_type?: string, filter_term?: string, external_app_user_id?: string) — Returns a list of all users for the enterprise along with their `user id`, `public name`, and `login`. the application and the authenticated user need to have the permission to look up users in the en - box_list_file_app_item_associations(limit?: integer, marker?: string, file_id: string, application_type?: string) — **this is a beta feature, which means that its availability might be limited.** returns all app items the file is associated with. this includes app items associated with ancestors of the file. assumi - box_list_file_collaborations(limit?: integer, fields?: string[], marker?: string, file_id: string) — Retrieves a list of pending and active collaborations for a file. this returns all the users that have access to the file or have been invited to the file. - box_list_file_comments(limit?: integer, fields?: string[], offset?: integer, file_id: string) — Retrieves a list of comments for a file. - box_list_file_version_legal_holds(limit?: integer, marker?: string, policy_id: string) — Get a list of file versions on legal hold for a legal hold assignment. due to ongoing re-architecture efforts this api might not return all file versions for this policy id. instead, this api will onl - box_list_file_version_retentions(limit?: integer, marker?: string, file_id?: string, policy_id?: string, file_version_id?: string, disposition_after?: string, disposition_action?: string, disposition_before?: string) — Retrieves all file version retentions for the given enterprise. **note**: file retention api is now **deprecated**. to get information about files and file versions under retention, see [files under r - box_list_folder_app_item_associations(limit?: integer, marker?: string, folder_id: string, application_type?: string) — **this is a beta feature, which means that its availability might be limited.** returns all app items the folder is associated with. this includes app items associated with ancestors of the folder. as - box_list_folder_collaborations(limit?: integer, fields?: string[], marker?: string, folder_id: string) — Retrieves a list of pending and active collaborations for a folder. this returns all the users that have access to the folder or have been invited to the folder. - box_list_folder_locks(folder_id: string) — Retrieves folder lock details for a given folder. you must be authenticated as the owner or co-owner of the folder to use this endpoint. - box_list_group_collaborations(limit?: integer, offset?: integer, group_id: string) — Retrieves all the collaborations for a group. the user must have admin permissions to inspect enterprise's groups. each collaboration object has details on which files or folders the group has access - box_list_groups_for_enterprise(limit?: integer, fields?: string[], offset?: integer, filter_term?: string) — Retrieves all of the groups for a given enterprise. the user must have admin permissions to inspect enterprise's groups. - box_list_items_in_folder(sort?: string, limit?: integer, fields?: string[], marker?: string, offset?: integer, direction?: string, folder_id: string, usemarker?: boolean) — Retrieves a page of items in a folder. these items can be files, folders, and web links. to request more information about the folder itself, like its size, use the [get a folder](#get-folders-id) end - box_list_legal_hold_policy_assignments(limit?: integer, fields?: string[], marker?: string, policy_id: string, assign_to_id?: string, assign_to_type?: string) — Retrieves a list of items a legal hold policy has been assigned to. - box_list_members_of_group(limit?: integer, offset?: integer, group_id: string) — Retrieves all the members for a group. only members of this group or users with admin-level permissions will be able to use this api. - box_list_metadata_cascade_policies(marker?: string, offset?: integer, folder_id: string, owner_enterprise_id?: string) — Retrieves a list of all the metadata cascade policies that are applied to a given folder. this can not be used on the root folder with id `0`. - box_list_metadata_instances_on_file(file_id: string) — Retrieves all metadata for a given file. - box_list_metadata_instances_on_folder(folder_id: string) — Retrieves all metadata for a given folder. this can not be used on the root folder with id `0`. - box_list_parts(limit?: integer, offset?: integer, upload_session_id: string) — Return a list of the chunks uploaded to the upload session so far. the actual endpoint url is returned by the [`create upload session`](e://post-files-upload-sessions) and [`get upload session`](e://g - box_list_pending_collaborations(limit?: integer, fields?: string[], offset?: integer, status: string) — Retrieves all pending collaboration invites for this user. - box_list_previous_file_versions_for_legal_hold_policy_assignment(limit?: integer, fields?: string[], marker?: string, legal_hold_policy_assignment_id: string) — List previous file versions for legal hold policy assignment - box_list_recently_accessed_items(limit?: integer, fields?: string[], marker?: string) — Returns information about the recent items accessed by a user, either in the last 90 days or up to the last 1000 items accessed. - box_list_retention_policies(limit?: integer, fields?: string[], marker?: string, policy_name?: string, policy_type?: string, created_by_user_id?: string) — Retrieves all of the retention policies for an enterprise. - box_list_retention_policy_assignments(type?: string, limit?: integer, fields?: string[], marker?: string, retention_policy_id: string) — Returns a list of all retention policy assignments associated with a specified retention policy. - box_list_shield_information_barrier_reports(limit?: integer, marker?: string, shield_information_barrier_id: string) — Lists shield information barrier reports. - box_list_shield_information_barrier_segment_members(limit?: integer, marker?: string, shield_information_barrier_segment_id: string) — Lists shield information barrier segment members based on provided segment ids. - box_list_shield_information_barrier_segment_restrictions(limit?: integer, marker?: string, shield_information_barrier_segment_id: string) — Lists shield information barrier segment restrictions based on provided segment id. - box_list_shield_information_barrier_segments(limit?: integer, marker?: string, shield_information_barrier_id: string) — Retrieves a list of shield information barrier segment objects for the specified information barrier id. - box_list_shield_information_barriers(limit?: integer, marker?: string) — Retrieves a list of shield information barrier objects for the enterprise of jwt. - box_list_slack_integration_mappings(limit?: integer, marker?: string, box_item_id?: string, box_item_type?: string, partner_item_id?: string, partner_item_type?: string, is_manually_created?: boolean) — Lists [slack integration mappings](https://support.box.com/hc/en-us/articles/4415585987859-box-as-the-content-layer-for-slack) in a users' enterprise. you need admin or co-admin role to use this endpo - box_list_storage_policies(limit?: integer, fields?: string[], marker?: string) — Fetches all the storage policies in the enterprise. - box_list_storage_policy_assignments(marker?: string, resolved_for_id: string, resolved_for_type: string) — Fetches all the storage policy assignment for an enterprise or user. - box_list_task_assignments(task_id: string) — Lists all of the assignments for a given task. - box_list_tasks_on_file(file_id: string) — Retrieves a list of all the tasks for a file. this endpoint does not support pagination. - box_list_teams_integration_mappings(box_item_id?: string, box_item_type?: string, partner_item_id?: string, partner_item_type?: string) — Lists [teams integration mappings](https://support.box.com/hc/en-us/articles/360044681474-using-box-for-teams) in a users' enterprise. you need admin or co-admin role to use this endpoint. - box_list_terms_of_service_user_statuses(tos_id: string, user_id?: string) — Retrieves an overview of users and their status for a terms of service, including whether they have accepted the terms and when. - box_list_terms_of_services(tos_type?: string) — Returns the current terms of service text and settings for the enterprise. - box_list_trashed_items(sort?: string, limit?: integer, fields?: string[], marker?: string, offset?: integer, direction?: string, usemarker?: boolean) — Retrieves the files and folders that have been moved to the trash. any attribute in the full files or folders objects can be passed in with the `fields` parameter to retrieve those specific attributes - box_list_user_and_enterprise_events(limit?: integer, event_type?: string[], stream_type?: string, created_after?: string, created_before?: string, stream_position?: string) — Returns up to a year of past events for a given user or for the entire enterprise. by default this returns events for the authenticated user. to retrieve events for the entire enterprise, set the `str - box_list_user_s_email_aliases(user_id: string) — Retrieves all email aliases for a user. the collection does not include the primary login for the user. - box_list_user_s_groups(limit?: integer, offset?: integer, user_id: string) — Retrieves all the groups for a user. only members of this group or users with admin-level permissions will be able to use this api. - box_list_users_exempt_from_collaboration_domain_restrictions(limit?: integer, marker?: string) — Returns a list of users who have been exempt from the collaboration domain restrictions. - box_list_workflows(limit?: integer, marker?: string, folder_id: string, trigger_type?: string) — Returns list of workflows that act on a given `folder id`, and have a flow with a trigger type of `workflow manual start`. you application must be authorized to use the `manage box relay` application - box_permanently_remove_file(file_id: string) — Permanently deletes a file that is in the trash. this action cannot be undone. - box_permanently_remove_folder(folder_id: string) — Permanently deletes a folder that is in the trash. this action cannot be undone. - box_permanently_remove_web_link(web_link_id: string) — Permanently deletes a web link that is in the trash. this action cannot be undone. - box_preflight_check_before_upload(name?: string, size?: integer) — Performs a check to verify that a file will be accepted by box before you upload the entire file. - box_promote_file_version(id?: string, type?: string, fields?: string[], file_id: string) — Promote a specific version of a file. if previous versions exist, this method can be used to promote one of the older versions to the top of the version history. this creates a new copy of the old ver - box_query_files_folders_by_metadata(from: string, limit?: integer, query?: string, fields?: string[], marker?: string, order_by?: object[], query_params?: object, ancestor_folder_id: string) — Create a search using sql-like syntax to return items that match specific metadata. by default, this endpoint returns only the most basic info about the items for which the query matches. to get addit - box_refresh_access_token(client_id: string, grant_type: string, client_secret: string, refresh_token: string) — Refresh an access token using its client id, secret, and refresh token. - box_remove_box_skill_cards_from_file(file_id: string) — Removes any box skills cards metadata from a file. - box_remove_classification_from_file(file_id: string) — Removes any classifications from a file. this api can also be called by including the enterprise id in the url explicitly, for example `/files/:id//enterprise 12345/securityclassification-6vmvochwuwo` - box_remove_classification_from_folder(folder_id: string) — Removes any classifications from a folder. this api can also be called by including the enterprise id in the url explicitly, for example `/folders/:id/enterprise 12345/securityclassification-6vmvochwu - box_remove_collaboration(collaboration_id: string) — Deletes a single collaboration. - box_remove_comment(comment_id: string) — Permanently deletes a comment. - box_remove_device_pin(device_pinner_id: string) — Deletes an individual device pin. - box_remove_domain_from_list_of_allowed_collaboration_domains(collaboration_whitelist_entry_id: string) — Removes a domain from the list of domains that have been deemed safe to create collaborations for within the current enterprise. - box_remove_email_alias(user_id: string, email_alias_id: string) — Removes an email alias from a user. - box_remove_file_version(file_id: string, file_version_id: string) — Move a file version to the trash. versions are only tracked for box users with premium accounts. - box_remove_group(group_id: string) — Permanently deletes a group. only users with admin-level permissions will be able to use this api. - box_remove_legal_hold_policy(legal_hold_policy_id: string) — Delete an existing legal hold policy. this is an asynchronous process. the policy will not be fully deleted yet when the response returns. - box_remove_metadata_cascade_policy(metadata_cascade_policy_id: string) — Deletes a metadata cascade policy. - box_remove_metadata_instance_from_file(scope: string, file_id: string, template_key: string) — Deletes a piece of file metadata. - box_remove_metadata_instance_from_folder(scope: string, folder_id: string, template_key: string) — Deletes a piece of folder metadata. - box_remove_metadata_template(scope: string, template_key: string) — Delete a metadata template and its instances. this deletion is permanent and can not be reversed. - box_remove_retention_policy_assignment(retention_policy_assignment_id: string) — Removes a retention policy assignment applied to content. - box_remove_shared_link_from_file(fields: string, file_id: string) — Removes a shared link from a file. - box_remove_shared_link_from_folder(fields: string, folder_id: string) — Removes a shared link from a folder. - box_remove_shared_link_from_web_link(fields: string, web_link_id: string) — Removes a shared link from a web link. - box_remove_task(task_id: string) — Removes a task from a file. - box_remove_upload_session(upload_session_id: string) — Abort an upload session and discard all data uploaded. this cannot be reversed. the actual endpoint url is returned by the [`create upload session`](e://post-files-upload-sessions) and [`get upload se - box_remove_user_domain_exemption(collaboration_whitelist_exempt_target_id: string) — Removes a user's exemption from the restrictions set out by the allowed list of domains for collaborations. - box_remove_user_from_group(group_membership_id: string) — Deletes a specific group membership. only admins of this group or users with admin-level permissions will be able to use this api. - box_remove_watermark_from_file(file_id: string) — Removes the watermark from a file. - box_remove_watermark_from_folder(folder_id: string) — Removes the watermark from a folder. - box_remove_web_link(web_link_id: string) — Deletes a web link. - box_remove_webhook(webhook_id: string) — Deletes a webhook. - box_request_access_token(code?: string, scope?: string, resource?: string, assertion?: string, client_id?: string, grant_type: string, actor_token?: string, client_secret?: string, refresh_token?: string, subject_token?: string, box_subject_id?: string, box_shared_link?: string, actor_token_type?: string, box_subject_type?: string, subject_token_type?: string) — Request an access token using either a client-side obtained oauth 2.0 authorization code or a server-side jwt assertion. an access token is a string that enables box to verify that a request belongs t - box_resend_box_sign_request(sign_request_id: string) — Resends a signature request email to all outstanding signers. - box_restore_file(name?: string, fields?: string[], file_id: string) — Restores a file that has been moved to the trash. an optional new parent id can be provided to restore the file to in case the original folder has been deleted. - box_restore_file_version(file_id: string, trashed_at?: string, file_version_id: string) — Restores a specific version of a file after it was deleted. don't use this endpoint to restore box notes, as it works with file formats such as pdf, doc, pptx or similar. - box_restore_folder(name?: string, fields?: string[], folder_id: string) — Restores a folder that has been moved to the trash. an optional new parent id can be provided to restore the folder to in case the original folder has been deleted. during this operation, part of the - box_restore_web_link(name?: string, fields?: string[], web_link_id: string) — Restores a web link that has been moved to the trash. an optional new parent id can be provided to restore the web link to in case the original folder has been deleted. - box_review_files_on_legal_hold_policy_assignment(limit?: integer, fields?: string[], marker?: string, legal_hold_policy_assignment_id: string) — Get a list of files with current file versions for a legal hold assignment. in some cases you may want to get previous file versions instead. in these cases, use the `get /legal hold policy assignment - box_revoke_access_token(token?: string, client_id?: string, client_secret?: string) — Revoke an active access token, effectively logging a user out that has been previously authenticated. - box_search_for_content(sort?: string, type?: string, limit?: integer, query?: string, scope?: string, fields?: string[], offset?: integer, direction?: string, mdfilters?: object[], size_range?: integer[], content_types?: string[], trash_content?: string, owner_user_ids?: string[], file_extensions?: string[], created_at_range?: string[], deleted_at_range?: string[], deleted_user_ids?: string[], updated_at_range?: string[], ancestor_folder_ids?: string[], recent_updater_user_ids?: string[], include_recent_shared_links?: boolean) — Searches for files, folders, web links, and shared files across the users content or across the entire enterprise. - box_starts_workflow_based_on_request_body(type?: string, files: object[], flow__id?: string, outcomes?: object[], flow__type?: string, folder__id?: string, workflow_id: string, folder__type?: string) — Initiates a flow with a trigger type of `workflow manual start`. you application must be authorized to use the `manage box relay` application scope within the developer console. - box_transfer_owned_folders(fields?: string[], notify?: boolean, user_id: string, owned__by__id?: string) — Transfers ownership of a specific folder (with id 0) from one user to another in the box cloud storage system. this endpoint should be used when you need to change the owner of a user's root folder, e - box_unassign_legal_hold_policy(legal_hold_policy_assignment_id: string) — Remove a legal hold from an item. this is an asynchronous process. the policy will not be fully removed yet when the response returns. - box_unassign_storage_policy(storage_policy_assignment_id: string) — Delete a storage policy assignment. deleting a storage policy assignment on a user will have the user inherit the enterprise's default storage policy. there is a rate limit for calling this endpoint o - box_unassign_task(task_assignment_id: string) — Deletes a specific task assignment. - box_update_ai_agent(name: string, type: string, agent_id: string, ask__type?: string, access_state: string, extract__type?: string, icon_reference?: string, text__gen__type?: string, allowed_entities?: object[], ask__description?: string, ask__access__state?: string, extract__description?: string, extract__access__state?: string, text__gen__description?: string, text__gen__access__state?: string, ask__custom__instructions?: string, extract__custom__instructions?: string, text__gen__custom__instructions?: string) — Updates an ai agent. - box_update_all_box_skill_cards_on_file(status: string, file__id?: string, skill_id: string, file__type?: string, usage__unit?: string, usage__value?: integer, metadata__cards?: object[], file__version__id?: string, file__version__type?: string) — An alternative method that can be used to overwrite and update all box skill metadata cards on a file. - box_update_collaboration(role: string, status?: string, expires_at?: string, can_view_path?: boolean, collaboration_id: string) — Updates a collaboration. can be used to change the owner of an item, or to accept collaboration invites. - box_update_comment(fields?: string[], message?: string, comment_id: string) — Update the message of a comment. - box_update_file(name?: string, tags?: string[], fields?: string[], file_id: string, collections?: object[], description?: string, lock__access?: string, disposition_at?: string, lock__expires__at?: string, permissions__can__download?: string, lock__is__download__prevented?: boolean) — Updates a file. this can be used to rename or move a file, create a shared link, or lock a file. - box_update_file_request(title?: string, status?: string, expires_at?: string, description?: string, file_request_id: string, is_email_required?: boolean, is_description_required?: boolean) — Updates a file request. this can be used to activate or deactivate a file request. - box_update_folder(name?: string, tags?: string[], fields?: string[], folder_id: string, sync_state?: string, collections?: object[], description?: string, can_non_owners_invite?: boolean, can_non_owners_view_collaborators?: boolean, is_collaboration_restricted_to_enterprise?: boolean) — Updates a folder. this can be also be used to move the folder, create shared links, update collaborations, and more. - box_update_group(name?: string, fields?: string[], group_id: string, provenance?: string, description?: string, invitability_level?: string, external_sync_identifier?: string, member_viewability_level?: string) — Updates a specific group. only admins of this group or users with admin-level permissions will be able to use this api. - box_update_group_membership(role?: string, fields?: string[], group_membership_id: string, configurable_permissions?: object) — Updates a user's group membership. only admins of this group or users with admin-level permissions will be able to use this api. - box_update_legal_hold_policy(description?: string, policy_name?: string, release_notes?: string, legal_hold_policy_id: string) — Update legal hold policy. - box_update_retention_policy(status?: string, description?: string, policy_name?: string, retention_type?: string, retention_length?: string, disposition_action?: string, are_owners_notified?: boolean, retention_policy_id: string, can_owner_extend_retention?: boolean, custom_notification_recipients?: object[]) — Updates a retention policy. - box_update_shared_link_on_file(fields: string, file_id: string, shared__link__access?: string, shared__link__password?: string, shared__link__unshared__at?: string, shared__link__vanity__name?: string, shared__link__permissions__can__edit?: boolean, shared__link__permissions__can__preview?: boolean, shared__link__permissions__can__download?: boolean) — Updates a shared link on a file. - box_update_shared_link_on_folder(fields: string, folder_id: string, shared__link__access?: string, shared__link__password?: string, shared__link__unshared__at?: string, shared__link__vanity__name?: string, shared__link__permissions__can__edit?: boolean, shared__link__permissions__can__preview?: boolean, shared__link__permissions__can__download?: boolean) — Updates a shared link on a folder. - box_update_shared_link_on_web_link(fields: string, web_link_id: string, shared__link__access?: string, shared__link__password?: string, shared__link__unshared__at?: string, shared__link__vanity__name?: string, shared__link__permissions__can__edit?: boolean, shared__link__permissions__can__preview?: boolean, shared__link__permissions__can__download?: boolean) — Updates a shared link on a web link. - box_update_shield_information_barrier_segment_with_specified_id(name?: string, description?: string, shield_information_barrier_segment_id: string) — Update shield information barrier segment with specified id - box_update_slack_integration_mapping(integration_mapping_id: string) — Updates a [slack integration mapping](https://support.box.com/hc/en-us/articles/4415585987859-box-as-the-content-layer-for-slack). supports updating the box folder id and options. you need admin or co - box_update_storage_policy_assignment(storage__policy__id?: string, storage__policy__type?: string, storage_policy_assignment_id: string) — Updates a specific storage policy assignment. - box_update_task(action?: string, due_at?: string, message?: string, task_id: string, completion_rule?: string) — Updates a task. this can be used to update a task's configuration, or to update its completion state. - box_update_task_assignment(message?: string, resolution_state?: string, task_assignment_id: string) — Updates a task assignment. this endpoint can be used to update the state of a task assigned to a user. - box_update_teams_integration_mapping(integration_mapping_id: string) — Updates a [teams integration mapping](https://support.box.com/hc/en-us/articles/360044681474-using-box-for-teams). supports updating the box folder id and options. you need admin or co-admin role to u - box_update_terms_of_service(text: string, status: string, terms_of_service_id: string) — Updates a specific terms of service. - box_update_terms_of_service_status_for_existing_user(is_accepted: boolean, terms_of_service_user_status_id: string) — Updates the status for a terms of service for a user. - box_update_user(name?: string, role?: string, login?: string, phone?: string, fields?: string[], notify?: boolean, status?: string, address?: string, user_id: string, language?: string, timezone?: string, job_title?: string, enterprise?: string, space_amount?: integer, tracking_codes?: object[], is_sync_enabled?: boolean, external_app_user_id?: string, can_see_managed_users?: boolean, is_password_reset_required?: boolean, notification__email__email?: string, is_exempt_from_device_limits?: boolean, is_external_collab_restricted?: boolean, is_exempt_from_login_verification?: boolean) — Updates a managed or app user in an enterprise. this endpoint is only available to users and applications with the right admin permissions. - box_update_web_link(url?: string, name?: string, description?: string, web_link_id: string, shared__link__access?: string, shared__link__password?: string, shared__link__unshared__at?: string, shared__link__vanity__name?: string) — Updates a web link object. - box_update_webhook(address?: string, triggers?: string[], target__id?: string, webhook_id: string, target__type?: string) — Updates a webhook. - box_upload_file(file?: object, fields?: string[], attributes?: object) — Uploads a small file to box. for file sizes over 50mb we recommend using the chunk upload apis. the `attributes` part of the body must come **before** the `file` part. requests that do not follow this - box_upload_file_version(file?: object, fields?: string[], file_id: string, attributes?: object) — Update a file's content. for file sizes over 50mb we recommend using the chunk upload apis. the `attributes` part of the body must come **before** the `file` part. requests that do not follow this for - box_upload_part_of_file(file?: object, upload_session_id: string) — Uploads a chunk of a file for an upload session. the actual endpoint url is returned by the [`create upload session`](e://post-files-upload-sessions) and [`get upload session`](e://get-files-upload-se ## Links Docs: https://mcp.ai/docs/mcps/box Website: https://mcp.ai/mcps/box