copy_item
ChatGPTStart an async Graph copy operation for a file or folder. Provide either item_url plus destination_folder_url, or source_target plus destination_folder_target. Docs: https://learn.microsoft.com/en-us/graph/api/driveitem-copy?view=graph-rest-1.0
create_drive_folder
ChatGPTCreate a folder in personal OneDrive without a SharePoint site. Omit the parent to create at the drive root. The parent must already exist. Name conflicts fail unless a different behavior is requested.
create_drive_folders_bulk
ChatGPTCreate multiple personal OneDrive folders in input order. Requests use the same drive and the single-folder policy checks. This is not atomic: earlier successes remain after a later failure. Results identify each attempted input by index. Authentication, throttling, and provider failures stop the batch. Errors after successful writes include progress; inspect the stopped item before retrying remaining inputs.
create_drive_item_link
ChatGPTCreate or retrieve an anyone-with-link sharing link for a personal OneDrive item. Use only when the user explicitly requests anyone-with-link access. Anyone who obtains this link can access the item without signing in; use view unless the user requests editing. This is not a private or named-recipient invitation. For named people, use invite_item_recipients; use edit or embed only when explicitly requested. Existing permissions are retained. Graph can return an existing link, so report the actual returned scope, type, roles, and expiration instead of assuming the requested settings were applied. No broader-scope retry is performed. Docs: https://learn.microsoft.com/en-us/graph/api/driveitem-createlink?view=graph-rest-1.0
create_folder
ChatGPTCreate a SharePoint folder in the site's document library. Use this to create a folder at the drive root or inside an existing folder. parent_folder_path is relative to the site's drive root.
create_folders_bulk
ChatGPTCreate multiple SharePoint folders in one batch. Docs: https://learn.microsoft.com/en-us/graph/api/driveitem-post-children?view=graph-rest-1.0
create_sharing_link
ChatGPTCreate a SharePoint sharing link for an existing file or folder. Use this only when the user explicitly wants a shareable link. Prefer scope='organization' and link_type='view' unless the user clearly asks for editable or broader access.
delete_drive_item
ChatGPTDelete a personal OneDrive item to the recycle bin. Use only when the user explicitly requests deletion. This requires an exact item ID; it never defaults to deleting the root. Folder deletion also removes its descendants, subject to workspace policy. To remove a shortcut, use its local id and parentReference.driveId from list_drive_item_children. Its remote_target IDs identify the shared original.
delete_item
ChatGPTDelete a SharePoint file or folder by path. Use this only when the user clearly wants the item removed. The path is relative to the site's drive root.
fetch
ChatGPTFetch 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. Shared-file shortcuts are resolved with the same access checks on the target file. Folder links are rejected; provide a file link instead. By default it extracts readable text; set download_raw_file=true only when the downstream workflow truly needs raw bytes.
fetch_advanced
ChatGPTFetch a file, including MIP-protected content when protection access is granted. Existing SharePoint site restrictions and administrator-configured label exclusions are enforced before downloading protected content. The decryption integration independently enforces the signed-in user's Microsoft Rights Management EXTRACT, EXPORT, or OWNER permissions. Protected raw-file downloads are denied until EXPORT or OWNER rights can be independently verified; unprotected raw downloads remain available.
get_drive_item
ChatGPTRead metadata for an exact file or folder without downloading its contents. Use IDs returned by discovery or upload actions. File metadata includes web_dav_url and e_tag for creating native Teams reference attachments. Site and sensitivity-label controls apply to the item.
get_list_item
ChatGPTRead one SharePoint list row and its column values by exact ID. Fields are always expanded; optionally project internal column names. Document-library rows reuse exact-file workspace checks before returning values. This action does not download files or list-item attachments.
get_profile
ChatGPTRetrieve the current user's profile.
get_sensitivity_labels
ChatGPTRead sensitivity labels available to the organization. Use this to discover Microsoft Purview label IDs, names, and sublabels. These are catalog definitions, not labels assigned to a particular file. Follow the returned next_link until it is null to read the complete catalog.
get_site
ChatGPTResolve 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.
invite_item_recipients
ChatGPTInvite named recipients to a file or folder. Provide either item_url or target. Docs: https://learn.microsoft.com/en-us/graph/api/driveitem-invite?view=graph-rest-1.0
list_drive_item_children
ChatGPTList the immediate files and folders in personal OneDrive. Omit drive and folder arguments to browse the signed-in user's root. Use either a folder ID or a relative folder path. Returns one batch of up to top items, without pagination. Returned id and parentReference.driveId identify the listed child. Use those IDs to remove or rename a shortcut; use its remote_target IDs for operations on the shared contents.
list_drives
ChatGPTList drives available to the current delegated user. This is a user-centric Graph discovery surface. It is useful for understanding the signed-in user's visible drives, but it does not enumerate all SharePoint sites or document libraries available in the tenant. Docs: https://learn.microsoft.com/en-us/graph/api/drive-list?view=graph-rest-1.0
list_folder_items
ChatGPTList 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.
list_item_permissions
ChatGPTList effective sharing permissions on a file or folder. Provide either item_url or target. Docs: https://learn.microsoft.com/en-us/graph/api/driveitem-list-permissions?view=graph-rest-1.0
list_item_versions
ChatGPTList version history for a file. Provide either item_url or target. Docs: https://learn.microsoft.com/en-us/graph/api/driveitem-list-versions?view=graph-rest-1.0
list_list_items
ChatGPTRead one page of SharePoint list rows with their column values. Fields are always expanded. Use internal column names to request a projection. Follow next_link unchanged until null, retaining the same arguments. This is a live Graph traversal, not a snapshot of concurrent edits. Filtering and ordering expressions are not accepted. Document-library rows must pass the existing exact-file site, OneDrive, and sensitivity-label checks; a denied or unverifiable document fails the page instead of silently omitting rows.
list_recent_documents
ChatGPTReturn recently accessed files for the current delegated user. This action is deprecated and kept only for compatibility with callers that still expect a user-centric recent-documents surface. Prefer get_site(...), list_site_drives(...), and list_folder_items(...) when the workflow needs SharePoint site discovery or folder browsing. Docs: https://learn.microsoft.com/en-us/graph/api/drive-recent?view=graph-rest-1.0 https://learn.microsoft.com/en-us/graph/api/resources/remoteitem?view=graph-rest-1.0
list_site_drives
ChatGPTList document libraries for one SharePoint site. Use this when the user has already identified a SharePoint site and you need to discover which site-scoped drives or document libraries exist before browsing or fetching files. This delegated path is the right discovery primitive for SharePoint sites; it is more accurate than relying on the current user's me/drives view. Docs: https://learn.microsoft.com/en-us/graph/api/drive-list?view=graph-rest-1.0
list_site_lists
ChatGPTDiscover lists in a known SharePoint site, including document libraries. Resolve the site with get_site first. Returns one bounded Graph page; follow next_link until null. System lists hidden by Graph are not included. Workspace site and OneDrive restrictions apply on every page.
move_drive_item
ChatGPTMove or rename a personal OneDrive item within the same drive. Supply a new name, a destination folder, or both. Omit the destination to rename in place; use destination_folder_id=root to move to the root. Moving between different drives is not supported.
move_drive_items_bulk
ChatGPTMove or rename personal OneDrive items in input order, within one drive. Each request uses the single-item checks. Cross-drive moves are rejected. This is not atomic: earlier successes are not rolled back. Results identify attempted inputs by index. Authentication, throttling, and provider failures stop the batch; after partial success, inspect the stopped item before retrying only the remaining inputs.
move_items_bulk
ChatGPTMove or rename multiple SharePoint files or folders in one batch. Docs: https://learn.microsoft.com/en-us/graph/api/driveitem-move?view=graph-rest-1.0
move_or_rename_item
ChatGPTMove or rename a SharePoint file or folder. Provide new_name, destination_folder_path, destination_folder_target, or a combination of rename plus one destination. For path-based moves, provide hostname, site_path, and item_path. For exact-target moves, provide target and optionally destination_folder_target. Docs: https://learn.microsoft.com/en-us/graph/api/driveitem-move?view=graph-rest-1.0
resolve_site_for_admin
ChatGPTResolve site metadata for a programmatic workspace-admin allowlist editor. Supply exactly one site URL or site-collection GUID. This private action intentionally bypasses content-policy checks only for site metadata so an administrator can add a site that is not allowlisted yet.
resolve_sites_for_admin
ChatGPTResolve collection GUIDs or site URLs for a workspace administrator. Supply exactly one list of collection GUIDs or browser URLs. Requests reuse the existing delegated access link and issue at most 20 direct site lookups per Microsoft Graph $batch request.
restore_item_version
ChatGPTRestore a prior file version and return refreshed metadata. Provide either item_url or target. Docs: https://learn.microsoft.com/en-us/graph/api/driveitemversion-restoreversion?view=graph-rest-1.0
search
ChatGPTSearch SharePoint/OneDrive documents with native Microsoft Graph search. query must be non-empty. The action returns matching text-friendly files (txt, pdf, docx, pptx, xlsx, csv). Optional site and folder arguments filter the native search results without browsing folders. Use get_site(...) when you already know the SharePoint hostname and path and need to validate them. Use list_site_drives(...) after that to discover site-scoped document libraries before browsing deeper. list_recent_documents(...) remains available only as a deprecated, user-centric compatibility surface and should not be used for normal SharePoint site discovery. Docs: https://learn.microsoft.com/en-us/graph/search-concept-files
search_drive_items
ChatGPTSearch personal OneDrive files and folders using the drive search API. By default search the signed-in user's drive, including supported shared items. A drive or folder argument restricts search to that hierarchy. This does not search SharePoint sites or support enterprise KQL syntax. Returns one batch of up to top results, without pagination. Narrow the query or folder scope to focus the results. Results contain canonical Graph IDs/URLs for fetch and exact-target writes. To remove or rename a shortcut, use list_drive_item_children to obtain its local shortcut IDs.
update_file
ChatGPTReplace the full contents of an existing SharePoint file from a file reference. This action overwrites the entire file at the target path; it does not perform an in-place structural patch inside formats such as DOCX or PPTX. The file must already exist.
update_file_exact
ChatGPTReplace the full contents of an existing SharePoint file by exact target. This action overwrites the entire file referenced by target; it does not perform an in-place structural patch inside formats such as DOCX or PPTX. Use type="item_url" when you already have the exact Graph or SharePoint item URL. The target may also use url as an alias for item_url, or be a raw SharePoint search/list result containing url, drive_id, item_id, or exact_target. Use type="drive_item" when you already know the Graph drive_id and item_id. Docs: https://learn.microsoft.com/en-us/graph/api/driveitem-put-content?view=graph-rest-1.0
upload_drive_item_content
ChatGPTUpload a file reference to personal OneDrive, including binary and large files. Select the destination by parent folder ID or relative path; omit both for the root. Large files reuse the production upload-session handling. To replace a known existing item by exact ID, use update_file_exact.
upload_file
ChatGPTUpload a file reference into SharePoint. Large files are uploaded through a Microsoft Graph upload session automatically.
upload_file_to_folder
ChatGPTCreate a file in an exact document library or folder without overwriting. Use drive and folder IDs returned by SharePoint discovery actions. For a destination specified by hostname, site path, and folder path, use upload_file. Unlike path-based upload, this action never falls back to the site's default drive. The destination is checked against site and sensitivity-label controls.