Files
Tools for uploading, downloading, listing, searching, and deleting files. File content is exchanged as base64-encoded strings to support the MCP protocol.uploadFile
Upload a file to organization storage with base64-encoded content. Permission:files:write
Parameters:
Returns: Object with
success boolean and a file object containing id,
filename, size, contentType, and folderId.
downloadFile
Download a file from organization storage as base64-encoded content. Permission:files:read
Parameters:
Returns: Object with a
file metadata object (id, filename,
contentType, size) and a content string containing base64-encoded file
bytes.
Downloads are gated by each file’s
agentAccessEnabled flag. Files with
agent access disabled return an error.listFiles
List files in organization storage with optional folder filtering and pagination. Permission:files:read
Parameters:
Returns:
searchFiles
Find files by name or content.searchFiles runs a hybrid full-text search
that combines two signals and fuses them so a file matching on both ranks
highest:
- Metadata — filename, description, and tags.
- Content — the text of the file’s indexed pages (for files Bizzy has finished indexing).
searchFiles to locate
files; use askFiles to answer a question from their contents.
Permission: files:read
Parameters:
Returns:
Results are limited to files with agent access enabled. A file excluded from
content indexing still appears when its name matches — exclusion only
removes it from content matching, not from search.
count reflects the deduplicated union of metadata and content candidates
within a bounded window (up to 500 matches per side), not an exhaustive
tally. For large result sets, page through with limit and offset.askFiles
New Answer a natural-language question using passages retrieved from the organization’s indexed files. Returns ranked citations — each backed by a source file, page number (when available), and an excerpt — rather than whole file records. Use this when a question may be answered by uploaded documents, and always cite the returned files when synthesizing an answer. Permission:files:read
Parameters:
Returns: Object with the echoed
query and a citations array. Each
citation contains fileId, filename, pageNumber (nullable), snippet,
score, and chunkIndex.
Only files with agent access enabled and a completed indexing status are
searched. Newly uploaded files become answerable once indexing finishes.
deleteFile
Delete a file from organization storage (soft delete). Permission:files:delete
Parameters:
Returns: Object with
success boolean, the deleted file object, and a
message string.
Folders
Tools for organizing files into a folder hierarchy. Folders can be nested up to 5 levels deep.createFolder
Create a new folder in organization storage with optional parent folder (max 5 levels deep). Permission:folders:write
Parameters:
Returns: The created folder object.
listFolders
List folders in organization storage with optional parent folder filtering and pagination. Permission:folders:read
Parameters:
Returns:
Next Steps
Contact Tools
Manage contacts and their associated data
Authentication
Learn how MCP clients authenticate to the server