Upload_Document_From_Path
Upload a local file to SharePoint by specifying its file path. Optionally set folder name or leave empty for library root.
Instructions
Upload a local file directly to SharePoint without converting to Base64 first. Use empty string for folder_name to upload to document library root.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "Upload_Document_From_Path"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| folder_name | No | ||
| file_path | No | ||
| new_file_name | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||