All data sources

SharePoint

OAuthsharepoint

Microsoft SharePoint connector for sites, lists, drives, and permissions. CRITICAL USAGE RULES: 1. Use sharepoint_search_sites() or sharepoint_get_site_by_path() to resolve site IDs. 2. Use sharepoint_list_lists() to discover list IDs before item/column operations. 3. Use sharepoint_list_drives() to locate drive IDs for document libraries. 4. upload/download file content use base64 payloads for binary data. 5. For batch operations, use sharepoint_bulk_upload() and sharepoint_bulk_download() for parallel processing. 6. For path-based operations, use sharepoint_upload_by_path() and sharepoint_download_by_path().

Provenance

PublisherSharePoint

Freshness & coverage

FreshnessFreshness not declared
GeographicNot declared
TemporalNot declared
AuthenticationCredentials required (OAuth)

Methods (43)

  • sharepoint_search_sites

    read

    Search SharePoint sites using a query and optional result limits.

    Input schema
    {
      "type": "object",
      "properties": {
        "query": {
          "type": "string"
        },
        "top": {
          "type": "number"
        },
        "fetchAll": {
          "type": "boolean"
        }
      },
      "additionalProperties": false,
      "required": [
        "query"
      ]
    }
  • sharepoint_bulk_upload

    write

    Upload multiple items to SharePoint in one bulk operation.

    Input schema
    {
      "type": "object",
      "properties": {
        "items": {
          "type": "array",
          "items": {
            "type": "object",
            "properties": {
              "driveId": {
                "type": "string"
              },
              "parentId": {
                "type": "string"
              },
              "filename": {
                "type": "string"
              },
              "contentBase64": {
                "type": "string"
              },
              "contentText": {
                "type": "string"
              },
              "contentType": {
                "type": "string"
              },
              "conflictBehavior": {
                "oneOf": [
                  {
                    "type": "string",
                    "enum": [
                      "fail"
                    ]
                  },
                  {
                    "type": "string",
                    "enum": [
                      "rename"
                    ]
                  },
                  {
                    "type": "string",
                    "enum": [
                      "replace"
                    ]
                  }
                ]
              }
            },
            "required": [
              "driveId",
              "parentId",
              "filename"
            ],
            "additionalProperties": false
          }
        }
      },
      "additionalProperties": false,
      "required": [
        "items"
      ]
    }
  • sharepoint_bulk_download

    read

    Download multiple SharePoint items in one bulk operation.

    Input schema
    {
      "type": "object",
      "properties": {
        "items": {
          "type": "array",
          "items": {
            "type": "object",
            "properties": {
              "driveId": {
                "type": "string"
              },
              "itemId": {
                "type": "string"
              }
            },
            "required": [
              "driveId",
              "itemId"
            ],
            "additionalProperties": false
          }
        }
      },
      "additionalProperties": false,
      "required": [
        "items"
      ]
    }
  • sharepoint_list_items

    read

    List items in a specified SharePoint list with expanded fields.

    Input schema
    {
      "type": "object",
      "properties": {
        "siteId": {
          "type": "string"
        },
        "listId": {
          "type": "string"
        },
        "expand": {
          "type": "string"
        },
        "top": {
          "type": "number"
        },
        "fetchAll": {
          "type": "boolean"
        }
      },
      "additionalProperties": false,
      "required": [
        "siteId",
        "listId"
      ]
    }
  • sharepoint_get_site_by_path

    read

    Retrieve a SharePoint site by hostname and site path.

    Input schema
    {
      "type": "object",
      "properties": {
        "hostname": {
          "type": "string"
        },
        "sitePath": {
          "type": "string"
        }
      },
      "additionalProperties": false,
      "required": [
        "hostname",
        "sitePath"
      ]
    }
  • sharepoint_get_root_site

    read

    Retrieve the SharePoint root site.

    Input schema
    {
      "type": "object",
      "properties": {},
      "additionalProperties": false
    }
  • sharepoint_get_site_by_id

    read

    Retrieve a SharePoint site by its identifier.

    Input schema
    {
      "type": "object",
      "properties": {
        "siteId": {
          "type": "string"
        }
      },
      "additionalProperties": false,
      "required": [
        "siteId"
      ]
    }
  • sharepoint_list_subsites

    read

    List subsites under a specified SharePoint site.

    Input schema
    {
      "type": "object",
      "properties": {
        "siteId": {
          "type": "string"
        },
        "top": {
          "type": "number"
        },
        "fetchAll": {
          "type": "boolean"
        }
      },
      "additionalProperties": false,
      "required": [
        "siteId"
      ]
    }
  • sharepoint_get_list

    read

    Retrieve a SharePoint list by site and list identifiers.

    Input schema
    {
      "type": "object",
      "properties": {
        "siteId": {
          "type": "string"
        },
        "listId": {
          "type": "string"
        }
      },
      "additionalProperties": false,
      "required": [
        "siteId",
        "listId"
      ]
    }
  • sharepoint_create_list

    write

    Create a SharePoint list with description, template, and columns.

    Input schema
    {
      "type": "object",
      "properties": {
        "siteId": {
          "type": "string"
        },
        "displayName": {
          "type": "string"
        },
        "description": {
          "type": "string"
        },
        "template": {
          "type": "string"
        },
        "columns": {
          "type": "array",
          "items": {}
        }
      },
      "additionalProperties": false,
      "required": [
        "siteId",
        "displayName"
      ]
    }
  • sharepoint_delete_list

    write

    Delete a specified SharePoint list.

    Input schema
    {
      "type": "object",
      "properties": {
        "siteId": {
          "type": "string"
        },
        "listId": {
          "type": "string"
        }
      },
      "additionalProperties": false,
      "required": [
        "siteId",
        "listId"
      ]
    }
  • sharepoint_get_item

    read

    Retrieve a SharePoint list item by its identifiers.

    Input schema
    {
      "type": "object",
      "properties": {
        "siteId": {
          "type": "string"
        },
        "listId": {
          "type": "string"
        },
        "itemId": {
          "type": "string"
        },
        "expand": {
          "type": "string"
        }
      },
      "additionalProperties": false,
      "required": [
        "siteId",
        "listId",
        "itemId"
      ]
    }
  • sharepoint_create_item

    write

    Create an item in a specified SharePoint list.

    Input schema
    {
      "type": "object",
      "properties": {
        "siteId": {
          "type": "string"
        },
        "listId": {
          "type": "string"
        },
        "fields": {
          "type": "object",
          "properties": {},
          "additionalProperties": true
        }
      },
      "additionalProperties": false,
      "required": [
        "siteId",
        "listId",
        "fields"
      ]
    }
  • sharepoint_update_item

    write

    Update fields on a specified SharePoint list item.

    Input schema
    {
      "type": "object",
      "properties": {
        "siteId": {
          "type": "string"
        },
        "listId": {
          "type": "string"
        },
        "itemId": {
          "type": "string"
        },
        "fields": {
          "type": "object",
          "properties": {},
          "additionalProperties": true
        }
      },
      "additionalProperties": false,
      "required": [
        "siteId",
        "listId",
        "itemId",
        "fields"
      ]
    }
  • sharepoint_delete_item

    write

    Delete a specified item from a SharePoint list.

    Input schema
    {
      "type": "object",
      "properties": {
        "siteId": {
          "type": "string"
        },
        "listId": {
          "type": "string"
        },
        "itemId": {
          "type": "string"
        }
      },
      "additionalProperties": false,
      "required": [
        "siteId",
        "listId",
        "itemId"
      ]
    }
  • sharepoint_list_columns

    read

    List columns in a specified SharePoint list.

    Input schema
    {
      "type": "object",
      "properties": {
        "siteId": {
          "type": "string"
        },
        "listId": {
          "type": "string"
        },
        "top": {
          "type": "number"
        },
        "fetchAll": {
          "type": "boolean"
        }
      },
      "additionalProperties": false,
      "required": [
        "siteId",
        "listId"
      ]
    }
  • sharepoint_get_column

    read

    Retrieve a SharePoint list column by its identifier.

    Input schema
    {
      "type": "object",
      "properties": {
        "siteId": {
          "type": "string"
        },
        "listId": {
          "type": "string"
        },
        "columnId": {
          "type": "string"
        }
      },
      "additionalProperties": false,
      "required": [
        "siteId",
        "listId",
        "columnId"
      ]
    }
  • sharepoint_create_column

    write

    Create a column in a specified SharePoint list.

    Input schema
    {
      "type": "object",
      "properties": {
        "siteId": {
          "type": "string"
        },
        "listId": {
          "type": "string"
        },
        "column": {
          "type": "object",
          "properties": {},
          "additionalProperties": true
        }
      },
      "additionalProperties": false,
      "required": [
        "siteId",
        "listId",
        "column"
      ]
    }
  • sharepoint_delete_column

    write

    Delete a specified column from a SharePoint list.

    Input schema
    {
      "type": "object",
      "properties": {
        "siteId": {
          "type": "string"
        },
        "listId": {
          "type": "string"
        },
        "columnId": {
          "type": "string"
        }
      },
      "additionalProperties": false,
      "required": [
        "siteId",
        "listId",
        "columnId"
      ]
    }
  • sharepoint_list_content_types

    read

    List content types available for a SharePoint site.

    Input schema
    {
      "type": "object",
      "properties": {
        "siteId": {
          "type": "string"
        },
        "top": {
          "type": "number"
        },
        "fetchAll": {
          "type": "boolean"
        }
      },
      "additionalProperties": false,
      "required": [
        "siteId"
      ]
    }
  • sharepoint_get_content_type

    read

    Retrieve a SharePoint content type by site and identifier.

    Input schema
    {
      "type": "object",
      "properties": {
        "siteId": {
          "type": "string"
        },
        "contentTypeId": {
          "type": "string"
        }
      },
      "additionalProperties": false,
      "required": [
        "siteId",
        "contentTypeId"
      ]
    }
  • sharepoint_get_drive

    read

    Retrieve a SharePoint drive by its identifier.

    Input schema
    {
      "type": "object",
      "properties": {
        "driveId": {
          "type": "string"
        }
      },
      "additionalProperties": false,
      "required": [
        "driveId"
      ]
    }
  • sharepoint_get_drive_item

    read

    Retrieve an item from a SharePoint drive by identifier.

    Input schema
    {
      "type": "object",
      "properties": {
        "driveId": {
          "type": "string"
        },
        "itemId": {
          "type": "string"
        }
      },
      "additionalProperties": false,
      "required": [
        "driveId",
        "itemId"
      ]
    }
  • sharepoint_list_drive_item_children

    read

    List children of a specified SharePoint drive item.

    Input schema
    {
      "type": "object",
      "properties": {
        "driveId": {
          "type": "string"
        },
        "itemId": {
          "type": "string"
        },
        "top": {
          "type": "number"
        },
        "fetchAll": {
          "type": "boolean"
        }
      },
      "additionalProperties": false,
      "required": [
        "driveId",
        "itemId"
      ]
    }
  • sharepoint_create_drive_item

    write

    Create a file or folder in a SharePoint drive.

    Input schema
    {
      "type": "object",
      "properties": {
        "driveId": {
          "type": "string"
        },
        "parentId": {
          "type": "string"
        },
        "name": {
          "type": "string"
        },
        "folder": {
          "type": "object",
          "properties": {},
          "additionalProperties": true
        },
        "file": {
          "type": "object",
          "properties": {},
          "additionalProperties": true
        },
        "conflictBehavior": {
          "oneOf": [
            {
              "type": "string",
              "enum": [
                "fail"
              ]
            },
            {
              "type": "string",
              "enum": [
                "rename"
              ]
            },
            {
              "type": "string",
              "enum": [
                "replace"
              ]
            }
          ]
        }
      },
      "additionalProperties": false,
      "required": [
        "driveId",
        "parentId",
        "name"
      ]
    }
  • sharepoint_update_drive_item

    write

    Update the name or description of a SharePoint drive item.

    Input schema
    {
      "type": "object",
      "properties": {
        "driveId": {
          "type": "string"
        },
        "itemId": {
          "type": "string"
        },
        "name": {
          "type": "string"
        },
        "description": {
          "type": "string"
        }
      },
      "additionalProperties": false,
      "required": [
        "driveId",
        "itemId"
      ]
    }
  • sharepoint_copy_drive_item

    unknown

    Copy a SharePoint drive item to a specified parent.

    Input schema
    {
      "type": "object",
      "properties": {
        "driveId": {
          "type": "string"
        },
        "itemId": {
          "type": "string"
        },
        "parentId": {
          "type": "string"
        },
        "name": {
          "type": "string"
        }
      },
      "additionalProperties": false,
      "required": [
        "driveId",
        "itemId"
      ]
    }
  • sharepoint_delete_drive_item

    write

    Delete a specified item from a SharePoint drive.

    Input schema
    {
      "type": "object",
      "properties": {
        "driveId": {
          "type": "string"
        },
        "itemId": {
          "type": "string"
        }
      },
      "additionalProperties": false,
      "required": [
        "driveId",
        "itemId"
      ]
    }
  • sharepoint_upload_file_content

    write

    Upload file content to a specified SharePoint drive folder.

    Input schema
    {
      "type": "object",
      "properties": {
        "driveId": {
          "type": "string"
        },
        "parentId": {
          "type": "string"
        },
        "filename": {
          "type": "string"
        },
        "contentBase64": {
          "type": "string"
        },
        "contentText": {
          "type": "string"
        },
        "sourceUrl": {
          "type": "string"
        },
        "contentType": {
          "type": "string"
        }
      },
      "additionalProperties": false,
      "required": [
        "driveId",
        "parentId",
        "filename"
      ]
    }
  • sharepoint_download_file_content

    read

    Download file content from a specified SharePoint drive item.

    Input schema
    {
      "type": "object",
      "properties": {
        "driveId": {
          "type": "string"
        },
        "itemId": {
          "type": "string"
        }
      },
      "additionalProperties": false,
      "required": [
        "driveId",
        "itemId"
      ]
    }
  • sharepoint_search_drive_root

    read

    Search the root of a SharePoint drive for items.

    Input schema
    {
      "type": "object",
      "properties": {
        "driveId": {
          "type": "string"
        },
        "query": {
          "type": "string"
        },
        "top": {
          "type": "number"
        },
        "fetchAll": {
          "type": "boolean"
        }
      },
      "additionalProperties": false,
      "required": [
        "driveId",
        "query"
      ]
    }
  • sharepoint_search_site_drive_root

    read

    Search a SharePoint site drive root for items.

    Input schema
    {
      "type": "object",
      "properties": {
        "siteId": {
          "type": "string"
        },
        "query": {
          "type": "string"
        },
        "top": {
          "type": "number"
        },
        "fetchAll": {
          "type": "boolean"
        }
      },
      "additionalProperties": false,
      "required": [
        "siteId",
        "query"
      ]
    }
  • sharepoint_list_drive_item_permissions

    read

    List permissions assigned to a SharePoint drive item.

    Input schema
    {
      "type": "object",
      "properties": {
        "driveId": {
          "type": "string"
        },
        "itemId": {
          "type": "string"
        },
        "top": {
          "type": "number"
        },
        "fetchAll": {
          "type": "boolean"
        }
      },
      "additionalProperties": false,
      "required": [
        "driveId",
        "itemId"
      ]
    }
  • sharepoint_invite_drive_item

    unknown

    Invite recipients to access a SharePoint drive item with roles.

    Input schema
    {
      "type": "object",
      "properties": {
        "driveId": {
          "type": "string"
        },
        "itemId": {
          "type": "string"
        },
        "recipients": {
          "type": "array",
          "items": {
            "type": "object",
            "properties": {
              "email": {
                "type": "string"
              }
            },
            "required": [
              "email"
            ],
            "additionalProperties": false
          }
        },
        "roles": {
          "type": "array",
          "items": {
            "type": "string"
          }
        },
        "message": {
          "type": "string"
        },
        "requireSignIn": {
          "type": "boolean"
        },
        "sendInvitation": {
          "type": "boolean"
        }
      },
      "additionalProperties": false,
      "required": [
        "driveId",
        "itemId",
        "recipients"
      ]
    }
  • sharepoint_delete_drive_item_permission

    write

    Delete a permission from a SharePoint drive item.

    Input schema
    {
      "type": "object",
      "properties": {
        "driveId": {
          "type": "string"
        },
        "itemId": {
          "type": "string"
        },
        "permissionId": {
          "type": "string"
        }
      },
      "additionalProperties": false,
      "required": [
        "driveId",
        "itemId",
        "permissionId"
      ]
    }
  • sharepoint_list_site_permissions

    read

    List permissions assigned to a SharePoint site.

    Input schema
    {
      "type": "object",
      "properties": {
        "siteId": {
          "type": "string"
        },
        "top": {
          "type": "number"
        },
        "fetchAll": {
          "type": "boolean"
        }
      },
      "additionalProperties": false,
      "required": [
        "siteId"
      ]
    }
  • sharepoint_create_site_permission

    write

    Create a permission on a SharePoint site for specified identities.

    Input schema
    {
      "type": "object",
      "properties": {
        "siteId": {
          "type": "string"
        },
        "roles": {
          "type": "array",
          "items": {
            "type": "string"
          }
        },
        "grantedToIdentities": {
          "type": "array",
          "items": {
            "type": "object",
            "properties": {
              "user": {
                "type": "object",
                "properties": {
                  "id": {
                    "type": "string"
                  }
                },
                "required": [
                  "id"
                ],
                "additionalProperties": false
              },
              "group": {
                "type": "object",
                "properties": {
                  "id": {
                    "type": "string"
                  }
                },
                "required": [
                  "id"
                ],
                "additionalProperties": false
              }
            },
            "additionalProperties": false
          }
        }
      },
      "additionalProperties": false,
      "required": [
        "siteId",
        "roles",
        "grantedToIdentities"
      ]
    }
  • sharepoint_delete_site_permission

    write

    Delete a permission from a SharePoint site.

    Input schema
    {
      "type": "object",
      "properties": {
        "siteId": {
          "type": "string"
        },
        "permissionId": {
          "type": "string"
        }
      },
      "additionalProperties": false,
      "required": [
        "siteId",
        "permissionId"
      ]
    }
  • sharepoint_get_capabilities

    read

    Retrieve available SharePoint connector capabilities.

    Input schema
    {
      "type": "object",
      "properties": {},
      "additionalProperties": false
    }
  • sharepoint_list_lists

    read

    List SharePoint lists for a site.

    Required paramssiteId
    Input schema
    {
      "type": "object",
      "properties": {
        "siteId": {
          "type": "string",
          "description": "SharePoint site ID."
        },
        "top": {
          "type": "number"
        },
        "fetchAll": {
          "type": "boolean"
        }
      },
      "additionalProperties": true,
      "required": [
        "siteId"
      ]
    }
  • sharepoint_list_drives

    read

    List document libraries and drives for a site.

    Required paramssiteId
    Input schema
    {
      "type": "object",
      "properties": {
        "siteId": {
          "type": "string",
          "description": "SharePoint site ID."
        },
        "top": {
          "type": "number"
        },
        "fetchAll": {
          "type": "boolean"
        }
      },
      "additionalProperties": true,
      "required": [
        "siteId"
      ]
    }
  • sharepoint_upload_by_path

    write

    Upload text or binary content to a path, optionally creating folders.

    Required paramssiteIdpath
    Input schema
    {
      "type": "object",
      "properties": {
        "siteId": {
          "type": "string",
          "description": "SharePoint site ID."
        },
        "path": {
          "type": "string",
          "description": "Path within the default drive."
        },
        "contentBase64": {
          "type": "string",
          "description": "Base64-encoded binary content."
        },
        "contentText": {
          "type": "string",
          "description": "UTF-8 text content to upload."
        },
        "contentType": {
          "type": "string"
        },
        "conflictBehavior": {
          "oneOf": [
            {
              "type": "string",
              "enum": [
                "fail"
              ]
            },
            {
              "type": "string",
              "enum": [
                "rename"
              ]
            },
            {
              "type": "string",
              "enum": [
                "replace"
              ]
            }
          ],
          "type": "string",
          "description": "Conflict behavior such as fail, replace, or rename."
        },
        "createFolders": {
          "type": "boolean",
          "description": "Create missing folders in the path."
        },
        "driveId": {
          "type": "string"
        }
      },
      "additionalProperties": true,
      "required": [
        "siteId",
        "path"
      ]
    }
  • sharepoint_download_by_path

    read

    Download a file by path from the default SharePoint drive.

    Required paramssiteIdpath
    Input schema
    {
      "type": "object",
      "properties": {
        "siteId": {
          "type": "string",
          "description": "SharePoint site ID."
        },
        "path": {
          "type": "string",
          "description": "Path within the default drive."
        },
        "driveId": {
          "type": "string"
        }
      },
      "additionalProperties": true,
      "required": [
        "siteId",
        "path"
      ]
    }