/sharepoint | Type: Application | PCID required: Yes
Sites, lists, and document libraries
Tools
| Tool | Description |
|---|---|
sharepoint_list_sites | List all available sites for specified Pink Connect ID |
sharepoint_search_sites_by_query | Searches sites for the specified Pink Connect ID by query |
sharepoint_get_root_site_from_url | Extract root site ID from subsite URLs. Only accepts direct paths: https://<tenant>.sharepoint.com/<RootSite>/<SubSite>[/<Drive>] (excludes /sites/ and /teams/ collections). |
sharepoint_list_subsites_for_root_site | List all subsites under a root site identified by rootSiteId. The rootSiteId should come from a custom-root URL (not /sites or /teams) obtained via sharepoint_get_root_site_from_url. |
sharepoint_list_drives | Get all document libraries(drives) in the specified site |
sharepoint_list_folder_contents | List folder contents in a sharepoint drive or document library. If itemId not provided, gets root folder contents. |
sharepoint_get_item_by_path | Get item by path in a sharepoint drive or document library |
sharepoint_upload_file | Upload file to a sharepoint drive or document library folder path |
sharepoint_download_file | Download file from SharePoint. IN WORKFLOWS: Files are automatically saved to Node Outputs - no manual save step needed. By default, automatically extracts text from supported document formats (PDF, DOCX, PPTX, XLSX) and includes it in the response. Text files (TXT, CSV) do not need extraction. STREAMING IS PREFERRED: Use stream=true (default) to get a downloadUrl for efficient downloading of large files. Only use stream=false for small files (<2MB) that need immediate processing. |
sharepoint_create_folder | Create folder in a sharepoint drive or document library |
sharepoint_update_item_metadata | Update file/folder metadata in a sharepoint drive or document library |
sharepoint_delete_item | Delete file or folder item from a sharepoint drive or document library |
sharepoint_move_item | Move file/folder item in a sharepoint drive or document library to a new parent folder |
sharepoint_copy_item | Copy file/folder item in a sharepoint drive or document library to a new parent folder |
sharepoint_get_lists | List all lists in the specified site |
sharepoint_get_list_items | Batch get list items in SharePoint |
sharepoint_create_list | Create a new list in the specified sharepoint id |
sharepoint_get_list_by_name | Get list by name and site id in sharepoint |
sharepoint_get_list_schema | Get list schema (columns) for a listId & siteId in sharepoint |
sharepoint_create_column | Create column in sharepoint list with siteId & listId. Supported types: text, dateTime, number, choice, boolean |
sharepoint_update_column | Update column (rename, etc.) in sharepoint list |
sharepoint_delete_column | Delete column in sharepoint list |
sharepoint_add_list_item | Add list item to a sharepoint list |
sharepoint_get_list_item | Get item by itemId from a sharepoint list |
sharepoint_update_list_item | Update list item in a sharepoint list |
sharepoint_delete_list_item | Delete list item |
sharepoint_delete_list | Delete sharepoint list from a siteId given its listId |
sharepoint_list_sites
List all available sites for specified Pink Connect IDsharepoint_search_sites_by_query
Searches sites for the specified Pink Connect ID by query Parameters:| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
query | string | Yes | — | Query to search for sites |
sharepoint_get_root_site_from_url
Extract root site ID from subsite URLs. Only accepts direct paths: https://<tenant>.sharepoint.com/<RootSite>/<SubSite>[/<Drive>] (excludes /sites/ and /teams/ collections). Parameters:| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
sharePointUrl | string | Yes | — | Direct subsite URL: https://<tenant>.sharepoint.com/<RootSite>/<SubSite>[/<Drive>] |
sharepoint_list_subsites_for_root_site
List all subsites under a root site identified by rootSiteId. The rootSiteId should come from a custom-root URL (not /sites or /teams) obtained via sharepoint_get_root_site_from_url. Parameters:| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
rootSiteId | string | Yes | — | Root site ID returned by sharepoint_get_root_site_from_url |
sharepoint_list_drives
Get all document libraries(drives) in the specified site Parameters:| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
siteId | string | Yes | — | Site ID to list drives from |
sharepoint_list_folder_contents
List folder contents in a sharepoint drive or document library. If itemId not provided, gets root folder contents. Parameters:| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
driveId | string | Yes | — | Drive ID containing the folder |
itemId | string | No | — | Folder item ID to list contents from (optional, defaults to root folder) |
sharepoint_get_item_by_path
Get item by path in a sharepoint drive or document library Parameters:| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
driveId | string | Yes | — | Drive ID to get item from |
folderPath | string | Yes | — | Path to the item in the drive |
sharepoint_upload_file
Upload file to a sharepoint drive or document library folder path Parameters:| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
driveId | string | Yes | — | Drive ID to upload file to |
folderPath | string | No | — | Folder path where to upload the file |
fileUrl | string | No | — | URL of the file to upload |
filename | string | No | — | [DEPRECATED] URL of the file to upload. Use fileUrl instead. This parameter will be removed in a future version. |
sharepoint_download_file
Download file from SharePoint. IN WORKFLOWS: Files are automatically saved to Node Outputs - no manual save step needed. By default, automatically extracts text from supported document formats (PDF, DOCX, PPTX, XLSX) and includes it in the response. Text files (TXT, CSV) do not need extraction. STREAMING IS PREFERRED: Use stream=true (default) to get a downloadUrl for efficient downloading of large files. Only use stream=false for small files (<2MB) that need immediate processing. Parameters:| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
driveId | string | Yes | — | Drive ID to download file from |
itemId | string | Yes | — | Item ID of the file to download |
stream | boolean | No | true | RECOMMENDED: true (default). Returns a downloadUrl + auth headers for efficient streaming. Set to false only for small files (<2MB) requiring immediate base64 content. |
extractText | boolean | No | true | Automatically extracts text from supported formats (PDF, DOCX, PPTX, XLSX) and includes it in the response. Text files do not need extraction. Set to false to skip extraction. |
sharepoint_create_folder
Create folder in a sharepoint drive or document library Parameters:| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
driveId | string | Yes | — | Drive ID to create folder in |
parentId | string | No | — | Parent folder ID where to create the new folder (optional, defaults to root) |
folderName | string | Yes | — | Name of the folder to create |
sharepoint_update_item_metadata
Update file/folder metadata in a sharepoint drive or document library Parameters:| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
driveId | string | Yes | — | Drive ID containing the item |
itemId | string | Yes | — | Item ID to update |
metadata | object | Yes | — | Metadata to update on the item |
sharepoint_delete_item
Delete file or folder item from a sharepoint drive or document library Parameters:| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
driveId | string | Yes | — | Drive ID containing the item |
itemId | string | Yes | — | Item ID to delete |
sharepoint_move_item
Move file/folder item in a sharepoint drive or document library to a new parent folder Parameters:| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
driveId | string | Yes | — | Drive ID containing the item |
itemId | string | Yes | — | Item ID to move |
parentReference | object | Yes | — | Reference to the target parent folder |
sharepoint_copy_item
Copy file/folder item in a sharepoint drive or document library to a new parent folder Parameters:| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
driveId | string | Yes | — | Drive ID containing the item |
itemId | string | Yes | — | Item ID to copy |
parentReference | object | No | — | Reference to the target parent folder |
name | string | No | — | Name for the copied item (optional) |
sharepoint_get_lists
List all lists in the specified site Parameters:| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
siteId | string | Yes | — | Site ID to get lists from |
sharepoint_get_list_items
Batch get list items in SharePoint Parameters:| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
siteId | string | Yes | — | Site ID to get list items from |
listId | string | Yes | — | List ID to get items from |
sharepoint_create_list
Create a new list in the specified sharepoint id Parameters:| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
siteId | string | Yes | — | Site ID to create the list in |
displayName | string | Yes | — | Name of the list to create |
description | string | No | — | Description of the list to create |
template | string | No | — | The template of the list to create |
columns | any[] | No | — | Columns to create in the list |
sharepoint_get_list_by_name
Get list by name and site id in sharepoint Parameters:| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
siteId | string | Yes | — | Site ID containing the list |
listName | string | Yes | — | Name of the list to get |
sharepoint_get_list_schema
Get list schema (columns) for a listId & siteId in sharepoint Parameters:| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
siteId | string | Yes | — | Site ID containing the list |
listId | string | Yes | — | List ID to get schema from |
sharepoint_create_column
Create column in sharepoint list with siteId & listId. Supported types: text, dateTime, number, choice, boolean Parameters:| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
siteId | string | Yes | — | Site ID containing the list |
listId | string | Yes | — | List ID to create column in |
columnDefinition | string | Yes | — | Column definition object with type-specific properties or JSON string |
sharepoint_update_column
Update column (rename, etc.) in sharepoint list Parameters:| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
siteId | string | Yes | — | Site ID containing the list |
listId | string | Yes | — | List ID containing the column |
columnId | string | Yes | — | Column ID to update |
updates | object | Yes | — | Updates to apply to the column |
sharepoint_delete_column
Delete column in sharepoint list Parameters:| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
siteId | string | Yes | — | Site ID containing the list |
listId | string | Yes | — | List ID containing the column |
columnId | string | Yes | — | Column ID to delete |
sharepoint_add_list_item
Add list item to a sharepoint list Parameters:| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
siteId | string | Yes | — | Site ID containing the list |
listId | string | Yes | — | List ID to add item to |
fields | object | Yes | — | Fields for the new list item |
sharepoint_get_list_item
Get item by itemId from a sharepoint list Parameters:| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
siteId | string | Yes | — | Site ID containing the list |
listId | string | Yes | — | List ID containing the item |
itemId | string | Yes | — | Item ID to get |
sharepoint_update_list_item
Update list item in a sharepoint list Parameters:| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
siteId | string | Yes | — | Site ID containing the list |
listId | string | Yes | — | List ID containing the item |
itemId | string | Yes | — | Item ID to update |
fields | object | Yes | — | Fields to update on the list item |
sharepoint_delete_list_item
Delete list item Parameters:| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
siteId | string | Yes | — | Site ID containing the list |
listId | string | Yes | — | List ID containing the item |
itemId | string | Yes | — | Item ID to delete |
sharepoint_delete_list
Delete sharepoint list from a siteId given its listId Parameters:| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
siteId | string | Yes | — | Site ID containing the list |
listId | string | Yes | — | List ID to delete |

