action microsoft_upload_file_to_root { label: "Upload file to root" description: "Upload a file into the root of the signed-in user's OneDrive. Content is sent as the raw request body; simple uploads are limited to 4 MB." provider: microsoft method: PUT path: "/v1.0/me/drive/root:/{filename}:/content" encoding: raw scopes: ["Files.ReadWrite"] input: @json { { "type": "object", "required": ["filename", "content"], "additionalProperties": false, "properties": { "filename": { "type": "string", "description": "File name including extension." }, "content": { "type": "string", "description": "File content, sent verbatim as the request body." }, "contentType": { "type": "string", "description": "MIME type, e.g. text/plain (default application/octet-stream)." } } } } output: @json { { "type": "object", "additionalProperties": true, "properties": { "id": { "type": "string" }, "name": { "type": "string" }, "size": { "type": "integer" }, "webUrl": { "type": "string" } } } } }