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_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_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. By default it extracts readable text; set download_raw_file=true only when the downstream workflow truly needs raw bytes.
get_profile
ChatGPTRetrieve the current user's profile.
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_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_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 search(query=None, ...) 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
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
oai_user_fetch
ChatGPTUses mfetch to perform document fetch for link following and citations.
oai_user_search
ChatGPTUses synced RAG index to perform semantic search against query. The index is refreshed until (now - 2h).
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 or browse a known SharePoint folder. When query is provided, this action performs keyword search and returns matching text-friendly files (txt, pdf, docx, pptx, xlsx, csv). When query is null, this action switches to browse mode and lists the immediate children from the target SharePoint folder. Browse mode requires both hostname and site_path, and optionally accepts folder_path. 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/api/resources/sharepoint?view=graph-rest-1.0 https://learn.microsoft.com/en-us/graph/api/driveitem-list-children?view=graph-rest-1.0 https://learn.microsoft.com/en-us/graph/search-concept-files
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_file
ChatGPTUpload a file reference into SharePoint. Large files are uploaded through a Microsoft Graph upload session automatically.