← Back to all apps

SharePoint

Productivityby OpenAI

Work with documents stored in SharePoint or OneDrive — including PDFs, Word, PowerPoint, and Excel docs — to create onboarding guides, prepare pre-reads, summarize complex materials, or extract key points for stakeholders. Bring together content across multiple files to produce clear, accurate outputs grounded in your organization’s shared knowledge.

6ChatGPT Tools
OpenAIDeveloper
ProductivityCategory

Available Tools

Fetch

fetch
Full Description

Fetch content for a SharePoint or OneDrive file.

Prefer passing the exact url returned by this connector's search/list actions. The connector also accepts a browser/sharing URL and will resolve it to the underlying Graph drive item automatically. By default it extracts readable text; set download_raw_file=true only when the downstream workflow truly needs raw bytes.

Parameters (1 required, 1 optional)
Required
urlstring

SharePoint file identifier to fetch. Prefer the exact `url` returned by `search` or `list_recent_documents`. This action also accepts a Microsoft Graph item URL or a regular SharePoint browser/sharing URL.

Optional
download_raw_fileboolean

When `true`, also return the base64-encoded raw file bytes for downstream file handling. Leave `false` for normal text extraction and summarization workflows.

Default: False

Get Profile

get_profile
Full Description

Retrieve the current user's profile.

Get Site

get_site
Full Description

Resolve a SharePoint site by hostname and path.

Use this when you need a canonical SharePoint site before listing, uploading, or moving files. site_path should be the site-relative path, not a full browser URL.

Parameters (2 required)
Required
hostnamestring

SharePoint hostname such as `contoso.sharepoint.com`.

site_pathstring

SharePoint site path such as `/sites/TeamDocs` or `/teams/Product`. Include the leading slash.

List Folder Items

list_folder_items
Full Description

List the immediate child files and folders in a SharePoint folder.

Use this before upload_file, move_or_rename_item, or delete_item when the user names a folder but you need to inspect its contents first. Paths are relative to the site's drive root.

Parameters (2 required, 2 optional)
Required
hostnamestring

SharePoint hostname such as `contoso.sharepoint.com`.

site_pathstring

SharePoint site path such as `/sites/TeamDocs` or `/teams/Product`. Include the leading slash.

Optional
folder_pathstring

Folder path relative to the site's drive root, such as `Shared Documents/Specs`. Leave null to use the drive root.

Default: null
topinteger

Maximum number of immediate child items to return from the target folder. Use a smaller value when you only need a few candidate files or folders.

Default: 100

List Recent Documents

list_recent_documents
Full Description

Return the top topn most recently accessed SharePoint or OneDrive documents.

Parameters (0 required, 1 optional)
Optional
topninteger

Maximum number of recent documents to return. Use a smaller value when you only need the most recent few files.

Default: 5

Search

search
Full Description

Search SharePoint/OneDrive documents by keyword.

Break large prompts into keywords likely found in document titles or contents and prefer more recent documents first. Only text-friendly file types are returned (txt, pdf, docx, pptx, xlsx, csv).

Parameters (1 required, 2 optional)
Required
querystring
Optional
recency_daysinteger
Default: null
topninteger
Default: 20