Skip to main content

Overview

SharePoint tools let you list sites, inspect site metadata, browse document libraries, search files, upload files, and download files through Microsoft Graph. They support both SharePoint site drives and the user’s OneDrive.

Key Features

  • SHAREPOINT_LIST_SITES
    • Search and list SharePoint sites.
  • SHAREPOINT_GET_SITE_INFORMATION
    • Get site metadata (id, name, URL) from a SharePoint site URL.
  • SHAREPOINT_LIST_DOCUMENTS
    • List files and folders from SharePoint document libraries or OneDrive.
  • SHAREPOINT_SEARCH_FILES
    • Search files and folders in a SharePoint document library or OneDrive by file name or keyword, with an optional files/folders filter.
  • SHAREPOINT_UPLOAD_FILE_V2
    • Upload a file to SharePoint or OneDrive (up to 30 MB). Accepts output files from previous steps, base64 strings, data URLs, or any HTTP(S) URL; files larger than 4 MB are uploaded automatically via chunked upload sessions. Supersedes SHAREPOINT_UPLOAD_FILE — prefer this tool for new flows.
  • SHAREPOINT_UPLOAD_FILE
    • Upload files to SharePoint or OneDrive (simple upload, up to 4MB). Kept for existing flows; use SHAREPOINT_UPLOAD_FILE_V2 instead.
  • SHAREPOINT_DOWNLOAD_FILE
    • Download a file from SharePoint or OneDrive. Returns a pre-authenticated download URL or base64-encoded content (max 4 MB).

Authentication

These tools require a Microsoft Graph OAuth token. Go to the Jinba secrets dashboard and connect a Microsoft account for SharePoint/OneDrive. Use the generated token in the tool config.

Example: List Sites and Upload a File