action microsoft_add_event_attachment { label: "Add event attachment" description: "Attach a file to a calendar event. Content is base64-encoded and limited to 3 MB." provider: microsoft method: POST path: "/v1.0/me/events/{event_id}/attachments" scopes: ["Calendars.ReadWrite"] input: @json { { "type": "object", "required": ["event_id", "@odata.type", "name", "contentBytes"], "additionalProperties": false, "properties": { "event_id": { "type": "string", "description": "Event id." }, "@odata.type": { "type": "string", "enum": ["#microsoft.graph.fileAttachment"], "description": "Always #microsoft.graph.fileAttachment." }, "name": { "type": "string", "description": "Attachment file name." }, "contentBytes": { "type": "string", "description": "Base64-encoded file content." }, "contentType": { "type": "string", "description": "MIME type, e.g. application/pdf." } } } } output: @json { { "type": "object", "additionalProperties": true, "properties": { "id": { "type": "string" }, "name": { "type": "string" }, "size": { "type": "integer" } } } } }