graph_upload_file
Upload a small file (up to 4MB) to a specified OneDrive path using base64-encoded content through Microsoft Graph.
Instructions
Upload a small file to OneDrive (max 4MB).
Args: file_path: Destination path in OneDrive (e.g. "Documents/report.txt"). content_base64: File content encoded as base64 string.
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": {
"file_path": "<file_path>",
"content_base64": "<content_base64>"
},
"name": "graph_upload_file"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| file_path | Yes | ||
| content_base64 | Yes |