Docs · static mirror — the interactive version loads with JavaScript.

SharePoint

Source: https://runstack.engineer/docs/toolkits/sharepoint

SharePoint sites, lists, and document libraries via Microsoft Graph: browse sites, manage list rows, work with files, and control sharing.

Tools (33):

ToolDescription
sharepointSearchSitesFind SharePoint sites in the tenant by keyword. Use "*" as the search term to list every site the connected user can access.
sharepointGetSiteGet one SharePoint site by its Graph site ID: title, web URL, description, and site collection metadata.
sharepointGetSiteByPathGet a SharePoint site from its web URL: hostname plus server-relative path (e.g. contoso.sharepoint.com with /teams/hr). Use when you only know the site URL, not its ID.
sharepointGetRootSiteGet the tenant's root SharePoint site (the organization's main site collection).
sharepointListSubsitesList the sub-sites nested under a SharePoint site (site hierarchy / navigation structure).
sharepointListSiteDrivesList all document libraries (drives) in a SharePoint site, including non-default libraries such as Shared Documents or custom libraries.
sharepointGetSiteDriveGet the default document library of a SharePoint site: quota, owner, drive type, and web URL. Start here before file operations when you have only a site ID.
sharepointListListsList every SharePoint list and document library in a site, with template type and item counts.
sharepointGetListGet one SharePoint list: display name, columns, content type, and settings.
sharepointCreateListCreate a SharePoint list from a template (generic list, document library, etc.), optionally defining its columns up front.
sharepointUpdateListRename a SharePoint list or change its description.
sharepointDeleteListDelete a SharePoint list permanently (its items are removed with it).
sharepointListListItemsList rows (list items) in a SharePoint list with OData filtering, field selection, and paging via the returned next link.
sharepointGetListItemGet one list row with its column values (expand fields to read all columns).
sharepointCreateListItemAdd a row to a SharePoint list. Provide column values as a flat fields object keyed by internal column name.
sharepointUpdateListItemUpdate column values on an existing list row. Only the fields you pass are changed; others keep their values.
sharepointDeleteListItemDelete a row from a SharePoint list.
sharepointGetListItemVersionsList version history of a list item: version IDs, editors, and timestamps (useful for audit and restore workflows).
sharepointListListColumnsList the columns (schema) of a SharePoint list so you know the exact internal field names to use when creating or updating rows.
sharepointListFilesList files and folders inside a SharePoint document library folder. Omit folderPath to list the library root.
sharepointGetFileGet metadata for one file or folder: name, size, timestamps, web URL, and pre-authenticated download URL. Address it by path or item ID.
sharepointGetFileContentDownload the content of a text-based file (txt, csv, json, md, html, code) from a SharePoint library as a string. Binary files return their download URL instead.
sharepointCreateFolderCreate a folder in a SharePoint document library at the given path.
sharepointUploadFileUpload a small text file to a SharePoint document library (simple upload, up to 250 MB). Overwrites an existing file with the same name.
sharepointDeleteFileDelete a file or folder from a SharePoint document library (moves it to the site recycle bin).
sharepointMoveFileMove a file or folder to another folder in the same library by destination folder ID, optionally renaming it on the way.
sharepointCopyFileCopy a file or folder to a destination folder (by ID). SharePoint accepts the request and processes the copy asynchronously.
sharepointSearchFilesFull-text search across SharePoint files and documents in the tenant using Microsoft Search (finds content, not just names).
sharepointCreateShareLinkCreate a sharing link for a file or folder and return its web URL. Choose view or edit access and organization or anonymous scope.
sharepointListFilePermissionsList who has access to a file or folder: inherited permissions, sharing links, and direct grants with their roles.
sharepointGrantFilePermissionGrant specific people access to a file or folder by email — read or write — without creating a general sharing link.
sharepointRevokeFilePermissionRemove a specific permission (direct grant or sharing link) from a file or folder. Only non-inherited permissions can be revoked.
sharepointListFileVersionsList version history of a file: version IDs, editors, timestamps, and sizes (newest first) for audit or restore workflows.