Skip to main content
sharepoint_list_folder Lists the files and sub-folders inside a folder within a drive. Pass item_id="root" to start at the top of a document library, then drill into sub-folders by passing their item_id.

Parameters

Returns

A paginated list of items (files and folders), each with id, name, webUrl, size, lastModifiedDateTime, and type indicators. Includes total_count, count, offset, has_more, and next_offset. Results are ordered alphabetically by name.

Example use

“Show me everything in the root of the Marketing document library.”