action microsoft_get_drive_item { label: "Get drive item" description: "Fetch metadata for a OneDrive file or folder by item id." provider: microsoft method: GET path: "/v1.0/me/drive/items/{item_id}" scopes: ["Files.ReadWrite"] input: @json { { "type": "object", "required": ["item_id"], "additionalProperties": false, "properties": { "item_id": { "type": "string", "description": "Drive item id." }, "$select": { "type": "string", "description": "Comma-separated list of properties to return." } } } } output: @json { { "type": "object", "additionalProperties": true, "properties": { "id": { "type": "string" }, "name": { "type": "string" }, "size": { "type": "integer" }, "folder": { "type": "object" }, "file": { "type": "object" }, "webUrl": { "type": "string" }, "parentReference": { "type": "object" }, "lastModifiedDateTime": { "type": "string" } } } } }