Tool

Read small binary file

The readSmallBinaryFile tool allows users to seamlessly access and retrieve small binary files (under 5MB) from Microsoft 365 SharePoint document libraries or specified drives. It provides base64 encoded content of files by specifying precise file and document library identifiers.

SharePoint

Features

  • Read binary files smaller than 5MB from SharePoint document libraries or drives.
  • Retrieve files by providing the unique fileId (DriveItem ID).
  • Specify document libraries or drives using documentLibraryId to pinpoint file location.
  • Returns file content as base64 encoded string for easy processing and integration.
  • Supports secure and efficient file access within Microsoft 365 SharePoint environments.

Benefits

  • Enables quick access to small binary files stored in SharePoint without manual downloading.
  • Simplifies integration of SharePoint file retrieval in automated workflows and applications.
  • Reduces complexity by using unique IDs to accurately locate files within large document libraries.
  • Improves efficiency by returning file content in base64 format, ready for processing or embedding.
  • Enhances security by accessing files through authenticated Microsoft 365 connectors.

Description

Use this tool for SharePoint document libraries or when you need to specify a drive.Read a binary file of size less than 5MB from a specific Document Library (or Drive).You need to provide a fileId (driveItemId of a File) and a documentLibraryId to identify and download the file.The file content will be returned as a base64 encoded string.

Parameters

2 parameters

NameTypeDescription
fileIdrequiredstring

The ID of the file (DriveItem) to read or download.

documentLibraryIdrequiredstring

Id of the Document Library (also called as a Drive) of the file you want to read or download.

Try Needle today

Streamline AI productivity at your company today

Join thousands of people who have transformed their workflows.

Agentic workflowsAutomations, meet AI agents
AI SearchAll your data, searchable
Chat widgetsDrop-in widget for your website
Developer APIMake your app talk to Needle
    Needle LogoNeedle
    Like many websites, we use cookies to enhance your experience, analyze site traffic and deliver personalized content while you are here. By clicking "Accept", you are giving us your consent to use cookies in this way. Read our more on our cookie policy .