Get folder children
The getFolderChildren AI tool allows seamless retrieval of files and folders within specified folders in Microsoft 365 SharePoint document libraries. It efficiently enumerates the top 20 DriveItems contained in a parent folder, facilitating easy access and management of SharePoint documents.
Features
- Supports specifying the Document Library (Drive) by its ID for targeted data retrieval.
- Allows selection of a parent folder within the document library via folder ID, defaulting to root folder if unspecified.
- Enumerates up to the top 20 files and folders contained within the specified parent folder.
- Integrates directly with Microsoft 365 SharePoint, ensuring smooth connectivity and data accuracy.
- Facilitates quick listing of DriveItems for streamlined document management and navigation.
Benefits
- Enhances productivity by simplifying access to SharePoint document contents.
- Reduces time spent searching for files and folders in SharePoint libraries.
- Enables developers to build custom solutions leveraging SharePoint folder data easily.
- Improves document management workflows with fast retrieval of folder items.
- Supports efficient handling of large document libraries by focusing on top DriveItems.
Description
Use this tool for SharePoint document libraries or when you need to specify a drive.Enumerates Top 20 files and folders (DriveItems) contained within a specified parent folder in a Document Library (also referred to as a Drive).
Parameters
2 parameters
| Name | Type | Description |
|---|---|---|
| documentLibraryIdrequired | string | Id of the Document Library (also called as a Drive) of the parent folder |
| parentFolderId | string | ID of the parent folder (DriveItem) whose files and folders will be listed.Defaults to the root folder of the Document Library if not specified. |