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):
| Tool | Description |
|---|---|
sharepointSearchSites | Find SharePoint sites in the tenant by keyword. Use "*" as the search term to list every site the connected user can access. |
sharepointGetSite | Get one SharePoint site by its Graph site ID: title, web URL, description, and site collection metadata. |
sharepointGetSiteByPath | Get 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. |
sharepointGetRootSite | Get the tenant's root SharePoint site (the organization's main site collection). |
sharepointListSubsites | List the sub-sites nested under a SharePoint site (site hierarchy / navigation structure). |
sharepointListSiteDrives | List all document libraries (drives) in a SharePoint site, including non-default libraries such as Shared Documents or custom libraries. |
sharepointGetSiteDrive | Get 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. |
sharepointListLists | List every SharePoint list and document library in a site, with template type and item counts. |
sharepointGetList | Get one SharePoint list: display name, columns, content type, and settings. |
sharepointCreateList | Create a SharePoint list from a template (generic list, document library, etc.), optionally defining its columns up front. |
sharepointUpdateList | Rename a SharePoint list or change its description. |
sharepointDeleteList | Delete a SharePoint list permanently (its items are removed with it). |
sharepointListListItems | List rows (list items) in a SharePoint list with OData filtering, field selection, and paging via the returned next link. |
sharepointGetListItem | Get one list row with its column values (expand fields to read all columns). |
sharepointCreateListItem | Add a row to a SharePoint list. Provide column values as a flat fields object keyed by internal column name. |
sharepointUpdateListItem | Update column values on an existing list row. Only the fields you pass are changed; others keep their values. |
sharepointDeleteListItem | Delete a row from a SharePoint list. |
sharepointGetListItemVersions | List version history of a list item: version IDs, editors, and timestamps (useful for audit and restore workflows). |
sharepointListListColumns | List the columns (schema) of a SharePoint list so you know the exact internal field names to use when creating or updating rows. |
sharepointListFiles | List files and folders inside a SharePoint document library folder. Omit folderPath to list the library root. |
sharepointGetFile | Get metadata for one file or folder: name, size, timestamps, web URL, and pre-authenticated download URL. Address it by path or item ID. |
sharepointGetFileContent | Download 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. |
sharepointCreateFolder | Create a folder in a SharePoint document library at the given path. |
sharepointUploadFile | Upload a small text file to a SharePoint document library (simple upload, up to 250 MB). Overwrites an existing file with the same name. |
sharepointDeleteFile | Delete a file or folder from a SharePoint document library (moves it to the site recycle bin). |
sharepointMoveFile | Move a file or folder to another folder in the same library by destination folder ID, optionally renaming it on the way. |
sharepointCopyFile | Copy a file or folder to a destination folder (by ID). SharePoint accepts the request and processes the copy asynchronously. |
sharepointSearchFiles | Full-text search across SharePoint files and documents in the tenant using Microsoft Search (finds content, not just names). |
sharepointCreateShareLink | Create a sharing link for a file or folder and return its web URL. Choose view or edit access and organization or anonymous scope. |
sharepointListFilePermissions | List who has access to a file or folder: inherited permissions, sharing links, and direct grants with their roles. |
sharepointGrantFilePermission | Grant specific people access to a file or folder by email — read or write — without creating a general sharing link. |
sharepointRevokeFilePermission | Remove a specific permission (direct grant or sharing link) from a file or folder. Only non-inherited permissions can be revoked. |
sharepointListFileVersions | List version history of a file: version IDs, editors, timestamps, and sizes (newest first) for audit or restore workflows. |