Server Configuration
Describes the environment variables required to run the server.
Name | Required | Description | Default |
---|---|---|---|
BOX_CLIENT_ID | Yes | Your Box API Client ID | |
BOX_CLIENT_SECRET | Yes | Your Box API Client Secret |
Schema
Prompts
Interactive templates invoked by user choice
Name | Description |
---|---|
No prompts |
Resources
Contextual data attached and managed by the client
Name | Description |
---|---|
No resources |
Tools
Functions exposed to the LLM to take actions
Name | Description |
---|---|
box_who_am_i | Get the current user's information. This is also useful to check the connection status. return: str: The current user's information. |
box_authorize_app_tool | Authorize the Box application. Start the Box app authorization process return: str: Message |
box_search_tool | Search for files in Box with the given query. Args: query (str): The query to search for. file_extensions (List[str]): The file extensions to search for, for example *.pdf content_types (List[SearchForContentContentTypes]): where to look for the information, possible values are: NAME DESCRIPTION, FILE_CONTENT, COMMENTS, TAG, ancestor_folder_ids (List[str]): The ancestor folder IDs to search in. return: str: The search results. |
box_read_tool | Read the text content of a file in Box. Args: file_id (str): The ID of the file to read. return: str: The text content of the file. |
box_ask_ai_tool | Ask box ai about a file in Box. Args: file_id (str): The ID of the file to read. prompt (str): The prompt to ask the AI. return: str: The text content of the file. |
box_search_folder_by_name | Locate a folder in Box by its name. Args: folder_name (str): The name of the folder to locate. return: str: The folder ID. |
box_ai_extract_data | " Extract data from a file in Box using AI. Args: file_id (str): The ID of the file to read. fields (str): The fields to extract from the file. return: str: The extracted data in a json string format. |
box_list_folder_content_by_folder_id | List the content of a folder in Box by its ID. Args: folder_id (str): The ID of the folder to list the content of. is_recursive (bool): Whether to list the content recursively. return: str: The content of the folder in a json string format, including the "id", "name", "type", and "description". |