upload_document_from_path
Upload files from your local computer to SharePoint by specifying the file path and destination folder. This tool transfers documents to SharePoint for storage and collaboration.
Instructions
Upload a file from the local filesystem to SharePoint
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"local_path": "<local_path>"
},
"name": "upload_document_from_path"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| local_path | Yes | Local file path to upload | |
| folder_path | No | Destination folder in SharePoint | |
| new_file_name | No | Optional new name for the file in SharePoint |