Skip to main content
Glama

box_file_download_tool

Download files from Box cloud storage to access content directly or save them locally for offline use.

Instructions

Download a file from Box and optionally save it locally.

Args: file_id (str): The ID of the file to download. save_file (bool, optional): Whether to save the file locally. Defaults to False. save_path (str, optional): Path where to save the file. If not provided but save_file is True, uses a temporary directory. Defaults to None.

Returns: dict[str, Any]: For text files: content as string. For images: base64-encoded string with metadata. For unsupported files: error message. If save_file is True, includes the path where the file was saved.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
file_idYes
save_fileNo
save_pathNo

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/box-community/mcp-server-box'

If you have feedback or need assistance with the MCP directory API, please join our Discord server