Code Assist MCP for Microsoft SharePoint

Build 25.0.9539

CreateFolder

Creates a new folder within a SharePoint document library. Useful for keeping files organized in logical structures.

Stored Procedure-Specific Information

The CreateFolder stored procedure creates a new folder in a SharePoint document library. The Library parameter specifies the document library name, and the Name parameter specifies the folder path to create.

To create a folder in the root of a library, enter:

EXEC CreateFolder Library = 'Documents', Name = 'New Folder';

To create a nested folder structure, enter:

EXEC CreateFolder Library = 'Documents', Name = 'Test Folder 1/Test Subfolder';

Input

Name Type Required Description
Library String True The display name of the document library in which the new folder will be created. Example: 'Shared Documents'.
Name String True The name of the folder to be created within the specified document library. Example: 'Project Files'.

Result Set Columns

Name Type Description
Success Boolean Indicates whether the folder creation operation was successful. Returns 'true' for success and 'false' for failure.

Copyright (c) 2026 CData Software, Inc. - All rights reserved.
Build 25.0.9539