Aller au contenu principal

Box Toolkit

The Box toolkit lets agents search and browse files and folders, read and download content, upload files and versions, create folders and Box Notes, move/copy/delete items, create shared links, and add collaborators. Authentication is per-user OAuth.

Add it on the agent Toolkits tab. The first use prompts the user to connect Box if they have not already.

Prerequisites​

  • A Box account with access to the content the agent should use
  • Box OAuth configured for your organization (admin)
  • An agent you can edit
  • Users must complete the Box OAuth connect flow when prompted

Setup​

  1. Confirm an admin has configured Box OAuth (Client ID, Client Secret, redirect URI).
  2. Open the agent → Toolkits → add Box.
  3. Save the agent. In Chat, connect Box when prompted.
  4. @-mention Box tools in the personality prompt for file tasks.

Available tools​

ToolDescription
Search FilesSearches files the user can access.
List Folder ItemsLists items in a folder.
Resolve PathResolves a folder/file path to an item.
Get File InfoReturns file metadata.
Get Folder InfoReturns folder metadata.
Read File ContentReads file content when supported.
Download FileDownloads a file.
Upload FileUploads a new file.
Upload File VersionUploads a new version of an existing file.
Create FolderCreates a folder.
Create Box NoteCreates a Box Note.
Move or Rename ItemMoves or renames a file or folder.
Copy FileCopies a file.
Delete ItemDeletes a file or folder.
Create Shared LinkCreates a shared link.
Add CollaborationAdds a collaborator.
Get Current UserReturns the connected Box user.

Use cases​

  • Find and summarize a document stored in Box
  • Upload a generated report into a project folder
  • Share a file link with a collaborator from chat

Tips​

  • Access is limited to what the connected Box user can see and edit.
  • Prefer folder IDs from list/search results when paths are ambiguous.
  • For Dropbox or Google Drive, use those toolkits instead.

Troubleshooting​

SymptomWhat to check
OAuth / connect loopComplete Box OAuth; reconnect with the correct account
Empty search or folderUser lacks access; confirm folder ID
Upload or delete failsWrite permissions on the parent folder