upload-file-content
Upload file content to Microsoft 365 services like OneDrive or SharePoint using drive ID and item ID parameters to manage and update files.
Instructions
The content stream, if the item represents a file.
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": {
"body": "<body>",
"driveId": "<driveId>",
"driveItemId": "<driveItemId>"
},
"name": "upload-file-content"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| body | Yes | ||
| driveId | Yes | Path parameter: driveId | |
| driveItemId | Yes | Path parameter: driveItemId | |
| includeHeaders | No | Include response headers (including ETag) in the response metadata | |
| excludeResponse | No | Exclude the full response body and only return success or failure indication |