action microsoft_list_chats { label: "List chats" description: "List the signed-in user's Microsoft Teams chats." provider: microsoft method: GET path: "/v1.0/me/chats" scopes: ["Chat.ReadWrite"] input: @json { { "type": "object", "additionalProperties": false, "properties": { "$top": { "type": "integer", "description": "Maximum number of chats to return." }, "$filter": { "type": "string", "description": "OData filter, e.g. chatType eq 'oneOnOne'." }, "$expand": { "type": "string", "description": "Expand related data, e.g. members." } } } } output: @json { { "type": "object", "additionalProperties": true, "properties": { "value": { "type": "array", "items": { "type": "object", "additionalProperties": true, "properties": { "id": { "type": "string" }, "topic": { "type": "string" }, "chatType": { "type": "string" }, "webUrl": { "type": "string" } } } }, "@odata.nextLink": { "type": "string" } } } } }