Skip to main content
Upload a file to a SharePoint document library

Tool details

FieldValue
Namesharepoint__upload_file
GroupIntegrations

Playground

Input schema

Input schema
{
  "type": "object",
  "properties": {
    "siteId": {
      "type": "string",
      "description": "SharePoint site ID"
    },
    "parentFolderId": {
      "type": "string",
      "description": "Parent folder item ID, or root"
    },
    "fileName": {
      "type": "string",
      "description": "Name of the file to upload"
    },
    "content": {
      "type": "string",
      "description": "File content to upload"
    }
  },
  "required": [
    "siteId",
    "fileName",
    "content"
  ],
  "description": "Input schema for the sharepoint__upload_file tool."
}

Output schema

This tool does not publish an output schema.