naftiko: 1.0.0-alpha2 info: label: Microsoft Graph Chats — chats.chatMessage description: 'Microsoft Graph Chats — chats.chatMessage. 40 operations. Lead operation: Microsoft Graph List messages in a chat. Self-contained Naftiko capability covering one Microsoft Graph business surface.' tags: - Microsoft Graph - chats.chatMessage created: '2026-05-19' modified: '2026-05-19' binds: - namespace: env keys: MICROSOFT_GRAPH_API_KEY: MICROSOFT_GRAPH_API_KEY capability: consumes: - type: http namespace: chats-chats-chatmessage baseUri: '' description: Microsoft Graph Chats — chats.chatMessage business capability. Self-contained, no shared references. resources: - name: chats-chat-id-messages path: /chats/{chat-id}/messages operations: - name: chatslistmessages method: GET description: Microsoft Graph List messages in a chat outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: $orderby in: query type: array description: Order items by property values - name: $select in: query type: array description: Select properties to be returned - name: $expand in: query type: array description: Expand related entities - name: chatscreatemessages method: POST description: Microsoft Graph Send message in a chat outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: body in: body type: object description: Request body (JSON). required: true - name: chats-chat-id-messages-$count path: /chats/{chat-id}/messages/$count operations: - name: chatsmessagesgetcount3dde method: GET description: Microsoft Graph Get the number of the resource outputRawFormat: json outputParameters: - name: result type: object value: $. - name: chats-chat-id-messages-delta() path: /chats/{chat-id}/messages/delta() operations: - name: chatschatmessagesdelta method: GET description: Microsoft Graph Invoke function delta outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: $select in: query type: array description: Select properties to be returned - name: $orderby in: query type: array description: Order items by property values - name: $expand in: query type: array description: Expand related entities - name: chats-chat-id-messages-chatMessage-id path: /chats/{chat-id}/messages/{chatMessage-id} operations: - name: chatsgetmessages method: GET description: Microsoft Graph Get chatMessage in a channel or chat outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: $select in: query type: array description: Select properties to be returned - name: $expand in: query type: array description: Expand related entities - name: chatsupdatemessages method: PATCH description: Microsoft Graph Update the navigation property messages in chats outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: body in: body type: object description: Request body (JSON). required: true - name: chatsdeletemessages method: DELETE description: Microsoft Graph Delete navigation property messages for chats outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: If-Match in: header type: string description: ETag - name: chats-chat-id-messages-chatMessage-id-hostedContents path: /chats/{chat-id}/messages/{chatMessage-id}/hostedContents operations: - name: chatsmessageslisthostedcontents method: GET description: Microsoft Graph List hostedContents outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: $orderby in: query type: array description: Order items by property values - name: $select in: query type: array description: Select properties to be returned - name: $expand in: query type: array description: Expand related entities - name: chatsmessagescreatehostedcontents method: POST description: Microsoft Graph Create new navigation property to hostedContents for chats outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: body in: body type: object description: Request body (JSON). required: true - name: chats-chat-id-messages-chatMessage-id-hostedContents-$count path: /chats/{chat-id}/messages/{chatMessage-id}/hostedContents/$count operations: - name: chatsmessageshostedcontentsgetcounta167 method: GET description: Microsoft Graph Get the number of the resource outputRawFormat: json outputParameters: - name: result type: object value: $. - name: chats-chat-id-messages-chatMessage-id-hostedContents-chatMessageHostedContent-id path: /chats/{chat-id}/messages/{chatMessage-id}/hostedContents/{chatMessageHostedContent-id} operations: - name: chatsmessagesgethostedcontents method: GET description: Microsoft Graph Get chatMessageHostedContent outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: $select in: query type: array description: Select properties to be returned - name: $expand in: query type: array description: Expand related entities - name: chatsmessagesupdatehostedcontents method: PATCH description: Microsoft Graph Update the navigation property hostedContents in chats outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: body in: body type: object description: Request body (JSON). required: true - name: chatsmessagesdeletehostedcontents method: DELETE description: Microsoft Graph Delete navigation property hostedContents for chats outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: If-Match in: header type: string description: ETag - name: chats-chat-id-messages-chatMessage-id-hostedContents-chatMessageHostedContent-id path: /chats/{chat-id}/messages/{chatMessage-id}/hostedContents/{chatMessageHostedContent-id}/$value operations: - name: chatsmessagesgethostedcontentscontent method: GET description: Microsoft Graph List hostedContents outputRawFormat: json outputParameters: - name: result type: object value: $. - name: chatsmessagesupdatehostedcontentscontent method: PUT description: Microsoft Graph Update media content for the navigation property hostedContents in chats outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: body in: body type: object description: Request body (JSON). required: true - name: chatsmessagesdeletehostedcontentscontent method: DELETE description: Microsoft Graph Delete media content for the navigation property hostedContents in chats outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: If-Match in: header type: string description: ETag - name: chats-chat-id-messages-chatMessage-id-replies path: /chats/{chat-id}/messages/{chatMessage-id}/replies operations: - name: chatsmessageslistreplies method: GET description: Microsoft Graph Get replies from chats outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: $orderby in: query type: array description: Order items by property values - name: $select in: query type: array description: Select properties to be returned - name: $expand in: query type: array description: Expand related entities - name: chatsmessagescreatereplies method: POST description: Microsoft Graph Create new navigation property to replies for chats outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: body in: body type: object description: Request body (JSON). required: true - name: chats-chat-id-messages-chatMessage-id-replies-$count path: /chats/{chat-id}/messages/{chatMessage-id}/replies/$count operations: - name: chatsmessagesrepliesgetcount10ad method: GET description: Microsoft Graph Get the number of the resource outputRawFormat: json outputParameters: - name: result type: object value: $. - name: chats-chat-id-messages-chatMessage-id-replies-delta() path: /chats/{chat-id}/messages/{chatMessage-id}/replies/delta() operations: - name: chatschatmessageschatmessagerepliesdelta method: GET description: Microsoft Graph Invoke function delta outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: $select in: query type: array description: Select properties to be returned - name: $orderby in: query type: array description: Order items by property values - name: $expand in: query type: array description: Expand related entities - name: chats-chat-id-messages-chatMessage-id-replies-chatMessage-id1 path: /chats/{chat-id}/messages/{chatMessage-id}/replies/{chatMessage-id1} operations: - name: chatsmessagesgetreplies method: GET description: Microsoft Graph Get replies from chats outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: $select in: query type: array description: Select properties to be returned - name: $expand in: query type: array description: Expand related entities - name: chatsmessagesupdatereplies method: PATCH description: Microsoft Graph Update the navigation property replies in chats outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: body in: body type: object description: Request body (JSON). required: true - name: chatsmessagesdeletereplies method: DELETE description: Microsoft Graph Delete navigation property replies for chats outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: If-Match in: header type: string description: ETag - name: chats-chat-id-messages-chatMessage-id-replies-chatMessage-id1-hostedContents path: /chats/{chat-id}/messages/{chatMessage-id}/replies/{chatMessage-id1}/hostedContents operations: - name: chatsmessagesreplieslisthostedcontents method: GET description: Microsoft Graph Get hostedContents from chats outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: $orderby in: query type: array description: Order items by property values - name: $select in: query type: array description: Select properties to be returned - name: $expand in: query type: array description: Expand related entities - name: chatsmessagesrepliescreatehostedcontents method: POST description: Microsoft Graph Create new navigation property to hostedContents for chats outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: body in: body type: object description: Request body (JSON). required: true - name: chats-chat-id-messages-chatMessage-id-replies-chatMessage-id1-hostedContents-$co path: /chats/{chat-id}/messages/{chatMessage-id}/replies/{chatMessage-id1}/hostedContents/$count operations: - name: chatsmessagesreplieshostedcontentsgetcountccd3 method: GET description: Microsoft Graph Get the number of the resource outputRawFormat: json outputParameters: - name: result type: object value: $. - name: chats-chat-id-messages-chatMessage-id-replies-chatMessage-id1-hostedContents-cha path: /chats/{chat-id}/messages/{chatMessage-id}/replies/{chatMessage-id1}/hostedContents/{chatMessageHostedContent-id} operations: - name: chatsmessagesrepliesgethostedcontents method: GET description: Microsoft Graph Get hostedContents from chats outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: $select in: query type: array description: Select properties to be returned - name: $expand in: query type: array description: Expand related entities - name: chatsmessagesrepliesupdatehostedcontents method: PATCH description: Microsoft Graph Update the navigation property hostedContents in chats outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: body in: body type: object description: Request body (JSON). required: true - name: chatsmessagesrepliesdeletehostedcontents method: DELETE description: Microsoft Graph Delete navigation property hostedContents for chats outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: If-Match in: header type: string description: ETag - name: chats-chat-id-messages-chatMessage-id-replies-chatMessage-id1-hostedContents-cha path: /chats/{chat-id}/messages/{chatMessage-id}/replies/{chatMessage-id1}/hostedContents/{chatMessageHostedContent-id}/$value operations: - name: chatsmessagesrepliesgethostedcontentscontent method: GET description: Microsoft Graph Get media content for the navigation property hostedContents from chats outputRawFormat: json outputParameters: - name: result type: object value: $. - name: chatsmessagesrepliesupdatehostedcontentscontent method: PUT description: Microsoft Graph Update media content for the navigation property hostedContents in chats outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: body in: body type: object description: Request body (JSON). required: true - name: chatsmessagesrepliesdeletehostedcontentscontent method: DELETE description: Microsoft Graph Delete media content for the navigation property hostedContents in chats outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: If-Match in: header type: string description: ETag - name: chats-chat-id-messages-chatMessage-id-replies-chatMessage-id1-setReaction path: /chats/{chat-id}/messages/{chatMessage-id}/replies/{chatMessage-id1}/setReaction operations: - name: chatschatmessageschatmessagereplieschatmessagesetreaction method: POST description: Microsoft Graph Invoke action setReaction outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: body in: body type: object description: Request body (JSON). required: true - name: chats-chat-id-messages-chatMessage-id-replies-chatMessage-id1-softDelete path: /chats/{chat-id}/messages/{chatMessage-id}/replies/{chatMessage-id1}/softDelete operations: - name: chatschatmessageschatmessagereplieschatmessagesoftdelete method: POST description: Microsoft Graph Invoke action softDelete outputRawFormat: json outputParameters: - name: result type: object value: $. - name: chats-chat-id-messages-chatMessage-id-replies-chatMessage-id1-undoSoftDelete path: /chats/{chat-id}/messages/{chatMessage-id}/replies/{chatMessage-id1}/undoSoftDelete operations: - name: chatschatmessageschatmessagereplieschatmessageundosoftdelete method: POST description: Microsoft Graph Invoke action undoSoftDelete outputRawFormat: json outputParameters: - name: result type: object value: $. - name: chats-chat-id-messages-chatMessage-id-replies-chatMessage-id1-unsetReaction path: /chats/{chat-id}/messages/{chatMessage-id}/replies/{chatMessage-id1}/unsetReaction operations: - name: chatschatmessageschatmessagereplieschatmessageunsetreaction method: POST description: Microsoft Graph Invoke action unsetReaction outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: body in: body type: object description: Request body (JSON). required: true - name: chats-chat-id-messages-chatMessage-id-setReaction path: /chats/{chat-id}/messages/{chatMessage-id}/setReaction operations: - name: chatschatmessageschatmessagesetreaction method: POST description: Microsoft Graph Invoke action setReaction outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: body in: body type: object description: Request body (JSON). required: true - name: chats-chat-id-messages-chatMessage-id-softDelete path: /chats/{chat-id}/messages/{chatMessage-id}/softDelete operations: - name: chatschatmessageschatmessagesoftdelete method: POST description: Microsoft Graph Invoke action softDelete outputRawFormat: json outputParameters: - name: result type: object value: $. - name: chats-chat-id-messages-chatMessage-id-undoSoftDelete path: /chats/{chat-id}/messages/{chatMessage-id}/undoSoftDelete operations: - name: chatschatmessageschatmessageundosoftdelete method: POST description: Microsoft Graph Invoke action undoSoftDelete outputRawFormat: json outputParameters: - name: result type: object value: $. - name: chats-chat-id-messages-chatMessage-id-unsetReaction path: /chats/{chat-id}/messages/{chatMessage-id}/unsetReaction operations: - name: chatschatmessageschatmessageunsetreaction method: POST description: Microsoft Graph Invoke action unsetReaction outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: body in: body type: object description: Request body (JSON). required: true exposes: - type: rest namespace: chats-chats-chatmessage-rest port: 8080 description: REST adapter for Microsoft Graph Chats — chats.chatMessage. One Spectral-compliant resource per consumed operation, prefixed with /v1. resources: - path: /v1/chats/{chat-id}/messages name: chats-chat-id-messages description: REST surface for chats-chat-id-messages. operations: - method: GET name: chatslistmessages description: Microsoft Graph List messages in a chat call: chats-chats-chatmessage.chatslistmessages with: $orderby: rest.$orderby $select: rest.$select $expand: rest.$expand outputParameters: - type: object mapping: $. - method: POST name: chatscreatemessages description: Microsoft Graph Send message in a chat call: chats-chats-chatmessage.chatscreatemessages with: body: rest.body outputParameters: - type: object mapping: $. - path: /v1/chats/{chat-id}/messages/count name: chats-chat-id-messages-count description: REST surface for chats-chat-id-messages-$count. operations: - method: GET name: chatsmessagesgetcount3dde description: Microsoft Graph Get the number of the resource call: chats-chats-chatmessage.chatsmessagesgetcount3dde outputParameters: - type: object mapping: $. - path: /v1/chats/{chat-id}/messages/delta name: chats-chat-id-messages-delta description: REST surface for chats-chat-id-messages-delta(). operations: - method: GET name: chatschatmessagesdelta description: Microsoft Graph Invoke function delta call: chats-chats-chatmessage.chatschatmessagesdelta with: $select: rest.$select $orderby: rest.$orderby $expand: rest.$expand outputParameters: - type: object mapping: $. - path: /v1/chats/{chat-id}/messages/{chatmessage-id} name: chats-chat-id-messages-chatmessage-id description: REST surface for chats-chat-id-messages-chatMessage-id. operations: - method: GET name: chatsgetmessages description: Microsoft Graph Get chatMessage in a channel or chat call: chats-chats-chatmessage.chatsgetmessages with: $select: rest.$select $expand: rest.$expand outputParameters: - type: object mapping: $. - method: PATCH name: chatsupdatemessages description: Microsoft Graph Update the navigation property messages in chats call: chats-chats-chatmessage.chatsupdatemessages with: body: rest.body outputParameters: - type: object mapping: $. - method: DELETE name: chatsdeletemessages description: Microsoft Graph Delete navigation property messages for chats call: chats-chats-chatmessage.chatsdeletemessages with: If-Match: rest.If-Match outputParameters: - type: object mapping: $. - path: /v1/chats/{chat-id}/messages/{chatmessage-id}/hostedcontents name: chats-chat-id-messages-chatmessage-id-hostedcontents description: REST surface for chats-chat-id-messages-chatMessage-id-hostedContents. operations: - method: GET name: chatsmessageslisthostedcontents description: Microsoft Graph List hostedContents call: chats-chats-chatmessage.chatsmessageslisthostedcontents with: $orderby: rest.$orderby $select: rest.$select $expand: rest.$expand outputParameters: - type: object mapping: $. - method: POST name: chatsmessagescreatehostedcontents description: Microsoft Graph Create new navigation property to hostedContents for chats call: chats-chats-chatmessage.chatsmessagescreatehostedcontents with: body: rest.body outputParameters: - type: object mapping: $. - path: /v1/chats/{chat-id}/messages/{chatmessage-id}/hostedcontents/count name: chats-chat-id-messages-chatmessage-id-hostedcontents-count description: REST surface for chats-chat-id-messages-chatMessage-id-hostedContents-$count. operations: - method: GET name: chatsmessageshostedcontentsgetcounta167 description: Microsoft Graph Get the number of the resource call: chats-chats-chatmessage.chatsmessageshostedcontentsgetcounta167 outputParameters: - type: object mapping: $. - path: /v1/chats/{chat-id}/messages/{chatmessage-id}/hostedcontents/{chatmessagehostedcontent-id} name: chats-chat-id-messages-chatmessage-id-hostedcontents-chatmessagehostedcontent-id description: REST surface for chats-chat-id-messages-chatMessage-id-hostedContents-chatMessageHostedContent-id. operations: - method: GET name: chatsmessagesgethostedcontents description: Microsoft Graph Get chatMessageHostedContent call: chats-chats-chatmessage.chatsmessagesgethostedcontents with: $select: rest.$select $expand: rest.$expand outputParameters: - type: object mapping: $. - method: PATCH name: chatsmessagesupdatehostedcontents description: Microsoft Graph Update the navigation property hostedContents in chats call: chats-chats-chatmessage.chatsmessagesupdatehostedcontents with: body: rest.body outputParameters: - type: object mapping: $. - method: DELETE name: chatsmessagesdeletehostedcontents description: Microsoft Graph Delete navigation property hostedContents for chats call: chats-chats-chatmessage.chatsmessagesdeletehostedcontents with: If-Match: rest.If-Match outputParameters: - type: object mapping: $. - path: /v1/chats/{chat-id}/messages/{chatmessage-id}/hostedcontents/{chatmessagehostedcontent-id}/value name: chats-chat-id-messages-chatmessage-id-hostedcontents-chatmessagehostedcontent-id description: REST surface for chats-chat-id-messages-chatMessage-id-hostedContents-chatMessageHostedContent-id. operations: - method: GET name: chatsmessagesgethostedcontentscontent description: Microsoft Graph List hostedContents call: chats-chats-chatmessage.chatsmessagesgethostedcontentscontent outputParameters: - type: object mapping: $. - method: PUT name: chatsmessagesupdatehostedcontentscontent description: Microsoft Graph Update media content for the navigation property hostedContents in chats call: chats-chats-chatmessage.chatsmessagesupdatehostedcontentscontent with: body: rest.body outputParameters: - type: object mapping: $. - method: DELETE name: chatsmessagesdeletehostedcontentscontent description: Microsoft Graph Delete media content for the navigation property hostedContents in chats call: chats-chats-chatmessage.chatsmessagesdeletehostedcontentscontent with: If-Match: rest.If-Match outputParameters: - type: object mapping: $. - path: /v1/chats/{chat-id}/messages/{chatmessage-id}/replies name: chats-chat-id-messages-chatmessage-id-replies description: REST surface for chats-chat-id-messages-chatMessage-id-replies. operations: - method: GET name: chatsmessageslistreplies description: Microsoft Graph Get replies from chats call: chats-chats-chatmessage.chatsmessageslistreplies with: $orderby: rest.$orderby $select: rest.$select $expand: rest.$expand outputParameters: - type: object mapping: $. - method: POST name: chatsmessagescreatereplies description: Microsoft Graph Create new navigation property to replies for chats call: chats-chats-chatmessage.chatsmessagescreatereplies with: body: rest.body outputParameters: - type: object mapping: $. - path: /v1/chats/{chat-id}/messages/{chatmessage-id}/replies/count name: chats-chat-id-messages-chatmessage-id-replies-count description: REST surface for chats-chat-id-messages-chatMessage-id-replies-$count. operations: - method: GET name: chatsmessagesrepliesgetcount10ad description: Microsoft Graph Get the number of the resource call: chats-chats-chatmessage.chatsmessagesrepliesgetcount10ad outputParameters: - type: object mapping: $. - path: /v1/chats/{chat-id}/messages/{chatmessage-id}/replies/delta name: chats-chat-id-messages-chatmessage-id-replies-delta description: REST surface for chats-chat-id-messages-chatMessage-id-replies-delta(). operations: - method: GET name: chatschatmessageschatmessagerepliesdelta description: Microsoft Graph Invoke function delta call: chats-chats-chatmessage.chatschatmessageschatmessagerepliesdelta with: $select: rest.$select $orderby: rest.$orderby $expand: rest.$expand outputParameters: - type: object mapping: $. - path: /v1/chats/{chat-id}/messages/{chatmessage-id}/replies/{chatmessage-id1} name: chats-chat-id-messages-chatmessage-id-replies-chatmessage-id1 description: REST surface for chats-chat-id-messages-chatMessage-id-replies-chatMessage-id1. operations: - method: GET name: chatsmessagesgetreplies description: Microsoft Graph Get replies from chats call: chats-chats-chatmessage.chatsmessagesgetreplies with: $select: rest.$select $expand: rest.$expand outputParameters: - type: object mapping: $. - method: PATCH name: chatsmessagesupdatereplies description: Microsoft Graph Update the navigation property replies in chats call: chats-chats-chatmessage.chatsmessagesupdatereplies with: body: rest.body outputParameters: - type: object mapping: $. - method: DELETE name: chatsmessagesdeletereplies description: Microsoft Graph Delete navigation property replies for chats call: chats-chats-chatmessage.chatsmessagesdeletereplies with: If-Match: rest.If-Match outputParameters: - type: object mapping: $. - path: /v1/chats/{chat-id}/messages/{chatmessage-id}/replies/{chatmessage-id1}/hostedcontents name: chats-chat-id-messages-chatmessage-id-replies-chatmessage-id1-hostedcontents description: REST surface for chats-chat-id-messages-chatMessage-id-replies-chatMessage-id1-hostedContents. operations: - method: GET name: chatsmessagesreplieslisthostedcontents description: Microsoft Graph Get hostedContents from chats call: chats-chats-chatmessage.chatsmessagesreplieslisthostedcontents with: $orderby: rest.$orderby $select: rest.$select $expand: rest.$expand outputParameters: - type: object mapping: $. - method: POST name: chatsmessagesrepliescreatehostedcontents description: Microsoft Graph Create new navigation property to hostedContents for chats call: chats-chats-chatmessage.chatsmessagesrepliescreatehostedcontents with: body: rest.body outputParameters: - type: object mapping: $. - path: /v1/chats/{chat-id}/messages/{chatmessage-id}/replies/{chatmessage-id1}/hostedcontents/count name: chats-chat-id-messages-chatmessage-id-replies-chatmessage-id1-hostedcontents-co description: REST surface for chats-chat-id-messages-chatMessage-id-replies-chatMessage-id1-hostedContents-$co. operations: - method: GET name: chatsmessagesreplieshostedcontentsgetcountccd3 description: Microsoft Graph Get the number of the resource call: chats-chats-chatmessage.chatsmessagesreplieshostedcontentsgetcountccd3 outputParameters: - type: object mapping: $. - path: /v1/chats/{chat-id}/messages/{chatmessage-id}/replies/{chatmessage-id1}/hostedcontents/{chatmessagehostedcontent-id} name: chats-chat-id-messages-chatmessage-id-replies-chatmessage-id1-hostedcontents-cha description: REST surface for chats-chat-id-messages-chatMessage-id-replies-chatMessage-id1-hostedContents-cha. operations: - method: GET name: chatsmessagesrepliesgethostedcontents description: Microsoft Graph Get hostedContents from chats call: chats-chats-chatmessage.chatsmessagesrepliesgethostedcontents with: $select: rest.$select $expand: rest.$expand outputParameters: - type: object mapping: $. - method: PATCH name: chatsmessagesrepliesupdatehostedcontents description: Microsoft Graph Update the navigation property hostedContents in chats call: chats-chats-chatmessage.chatsmessagesrepliesupdatehostedcontents with: body: rest.body outputParameters: - type: object mapping: $. - method: DELETE name: chatsmessagesrepliesdeletehostedcontents description: Microsoft Graph Delete navigation property hostedContents for chats call: chats-chats-chatmessage.chatsmessagesrepliesdeletehostedcontents with: If-Match: rest.If-Match outputParameters: - type: object mapping: $. - path: /v1/chats/{chat-id}/messages/{chatmessage-id}/replies/{chatmessage-id1}/hostedcontents/{chatmessagehostedcontent-id}/value name: chats-chat-id-messages-chatmessage-id-replies-chatmessage-id1-hostedcontents-cha description: REST surface for chats-chat-id-messages-chatMessage-id-replies-chatMessage-id1-hostedContents-cha. operations: - method: GET name: chatsmessagesrepliesgethostedcontentscontent description: Microsoft Graph Get media content for the navigation property hostedContents from chats call: chats-chats-chatmessage.chatsmessagesrepliesgethostedcontentscontent outputParameters: - type: object mapping: $. - method: PUT name: chatsmessagesrepliesupdatehostedcontentscontent description: Microsoft Graph Update media content for the navigation property hostedContents in chats call: chats-chats-chatmessage.chatsmessagesrepliesupdatehostedcontentscontent with: body: rest.body outputParameters: - type: object mapping: $. - method: DELETE name: chatsmessagesrepliesdeletehostedcontentscontent description: Microsoft Graph Delete media content for the navigation property hostedContents in chats call: chats-chats-chatmessage.chatsmessagesrepliesdeletehostedcontentscontent with: If-Match: rest.If-Match outputParameters: - type: object mapping: $. - path: /v1/chats/{chat-id}/messages/{chatmessage-id}/replies/{chatmessage-id1}/setreaction name: chats-chat-id-messages-chatmessage-id-replies-chatmessage-id1-setreaction description: REST surface for chats-chat-id-messages-chatMessage-id-replies-chatMessage-id1-setReaction. operations: - method: POST name: chatschatmessageschatmessagereplieschatmessagesetreaction description: Microsoft Graph Invoke action setReaction call: chats-chats-chatmessage.chatschatmessageschatmessagereplieschatmessagesetreaction with: body: rest.body outputParameters: - type: object mapping: $. - path: /v1/chats/{chat-id}/messages/{chatmessage-id}/replies/{chatmessage-id1}/softdelete name: chats-chat-id-messages-chatmessage-id-replies-chatmessage-id1-softdelete description: REST surface for chats-chat-id-messages-chatMessage-id-replies-chatMessage-id1-softDelete. operations: - method: POST name: chatschatmessageschatmessagereplieschatmessagesoftdelete description: Microsoft Graph Invoke action softDelete call: chats-chats-chatmessage.chatschatmessageschatmessagereplieschatmessagesoftdelete outputParameters: - type: object mapping: $. - path: /v1/chats/{chat-id}/messages/{chatmessage-id}/replies/{chatmessage-id1}/undosoftdelete name: chats-chat-id-messages-chatmessage-id-replies-chatmessage-id1-undosoftdelete description: REST surface for chats-chat-id-messages-chatMessage-id-replies-chatMessage-id1-undoSoftDelete. operations: - method: POST name: chatschatmessageschatmessagereplieschatmessageundosoftdelete description: Microsoft Graph Invoke action undoSoftDelete call: chats-chats-chatmessage.chatschatmessageschatmessagereplieschatmessageundosoftdelete outputParameters: - type: object mapping: $. - path: /v1/chats/{chat-id}/messages/{chatmessage-id}/replies/{chatmessage-id1}/unsetreaction name: chats-chat-id-messages-chatmessage-id-replies-chatmessage-id1-unsetreaction description: REST surface for chats-chat-id-messages-chatMessage-id-replies-chatMessage-id1-unsetReaction. operations: - method: POST name: chatschatmessageschatmessagereplieschatmessageunsetreaction description: Microsoft Graph Invoke action unsetReaction call: chats-chats-chatmessage.chatschatmessageschatmessagereplieschatmessageunsetreaction with: body: rest.body outputParameters: - type: object mapping: $. - path: /v1/chats/{chat-id}/messages/{chatmessage-id}/setreaction name: chats-chat-id-messages-chatmessage-id-setreaction description: REST surface for chats-chat-id-messages-chatMessage-id-setReaction. operations: - method: POST name: chatschatmessageschatmessagesetreaction description: Microsoft Graph Invoke action setReaction call: chats-chats-chatmessage.chatschatmessageschatmessagesetreaction with: body: rest.body outputParameters: - type: object mapping: $. - path: /v1/chats/{chat-id}/messages/{chatmessage-id}/softdelete name: chats-chat-id-messages-chatmessage-id-softdelete description: REST surface for chats-chat-id-messages-chatMessage-id-softDelete. operations: - method: POST name: chatschatmessageschatmessagesoftdelete description: Microsoft Graph Invoke action softDelete call: chats-chats-chatmessage.chatschatmessageschatmessagesoftdelete outputParameters: - type: object mapping: $. - path: /v1/chats/{chat-id}/messages/{chatmessage-id}/undosoftdelete name: chats-chat-id-messages-chatmessage-id-undosoftdelete description: REST surface for chats-chat-id-messages-chatMessage-id-undoSoftDelete. operations: - method: POST name: chatschatmessageschatmessageundosoftdelete description: Microsoft Graph Invoke action undoSoftDelete call: chats-chats-chatmessage.chatschatmessageschatmessageundosoftdelete outputParameters: - type: object mapping: $. - path: /v1/chats/{chat-id}/messages/{chatmessage-id}/unsetreaction name: chats-chat-id-messages-chatmessage-id-unsetreaction description: REST surface for chats-chat-id-messages-chatMessage-id-unsetReaction. operations: - method: POST name: chatschatmessageschatmessageunsetreaction description: Microsoft Graph Invoke action unsetReaction call: chats-chats-chatmessage.chatschatmessageschatmessageunsetreaction with: body: rest.body outputParameters: - type: object mapping: $. - type: mcp namespace: chats-chats-chatmessage-mcp port: 9090 transport: http description: MCP adapter for Microsoft Graph Chats — chats.chatMessage. One tool per consumed operation, routed inline through this capability's consumes block. tools: - name: microsoft-graph-list-messages-chat description: Microsoft Graph List messages in a chat hints: readOnly: true destructive: false idempotent: true call: chats-chats-chatmessage.chatslistmessages with: $orderby: tools.$orderby $select: tools.$select $expand: tools.$expand outputParameters: - type: object mapping: $. - name: microsoft-graph-send-message-chat description: Microsoft Graph Send message in a chat hints: readOnly: false destructive: false idempotent: false call: chats-chats-chatmessage.chatscreatemessages with: body: tools.body outputParameters: - type: object mapping: $. - name: microsoft-graph-get-number-resource description: Microsoft Graph Get the number of the resource hints: readOnly: true destructive: false idempotent: true call: chats-chats-chatmessage.chatsmessagesgetcount3dde outputParameters: - type: object mapping: $. - name: microsoft-graph-invoke-function-delta description: Microsoft Graph Invoke function delta hints: readOnly: true destructive: false idempotent: true call: chats-chats-chatmessage.chatschatmessagesdelta with: $select: tools.$select $orderby: tools.$orderby $expand: tools.$expand outputParameters: - type: object mapping: $. - name: microsoft-graph-get-chatmessage-channel description: Microsoft Graph Get chatMessage in a channel or chat hints: readOnly: true destructive: false idempotent: true call: chats-chats-chatmessage.chatsgetmessages with: $select: tools.$select $expand: tools.$expand outputParameters: - type: object mapping: $. - name: microsoft-graph-update-navigation-property description: Microsoft Graph Update the navigation property messages in chats hints: readOnly: false destructive: false idempotent: true call: chats-chats-chatmessage.chatsupdatemessages with: body: tools.body outputParameters: - type: object mapping: $. - name: microsoft-graph-delete-navigation-property description: Microsoft Graph Delete navigation property messages for chats hints: readOnly: false destructive: true idempotent: true call: chats-chats-chatmessage.chatsdeletemessages with: If-Match: tools.If-Match outputParameters: - type: object mapping: $. - name: microsoft-graph-list-hostedcontents description: Microsoft Graph List hostedContents hints: readOnly: true destructive: false idempotent: true call: chats-chats-chatmessage.chatsmessageslisthostedcontents with: $orderby: tools.$orderby $select: tools.$select $expand: tools.$expand outputParameters: - type: object mapping: $. - name: microsoft-graph-create-new-navigation description: Microsoft Graph Create new navigation property to hostedContents for chats hints: readOnly: false destructive: false idempotent: false call: chats-chats-chatmessage.chatsmessagescreatehostedcontents with: body: tools.body outputParameters: - type: object mapping: $. - name: microsoft-graph-get-number-resource-2 description: Microsoft Graph Get the number of the resource hints: readOnly: true destructive: false idempotent: true call: chats-chats-chatmessage.chatsmessageshostedcontentsgetcounta167 outputParameters: - type: object mapping: $. - name: microsoft-graph-get-chatmessagehostedcontent description: Microsoft Graph Get chatMessageHostedContent hints: readOnly: true destructive: false idempotent: true call: chats-chats-chatmessage.chatsmessagesgethostedcontents with: $select: tools.$select $expand: tools.$expand outputParameters: - type: object mapping: $. - name: microsoft-graph-update-navigation-property-2 description: Microsoft Graph Update the navigation property hostedContents in chats hints: readOnly: false destructive: false idempotent: true call: chats-chats-chatmessage.chatsmessagesupdatehostedcontents with: body: tools.body outputParameters: - type: object mapping: $. - name: microsoft-graph-delete-navigation-property-2 description: Microsoft Graph Delete navigation property hostedContents for chats hints: readOnly: false destructive: true idempotent: true call: chats-chats-chatmessage.chatsmessagesdeletehostedcontents with: If-Match: tools.If-Match outputParameters: - type: object mapping: $. - name: microsoft-graph-list-hostedcontents-2 description: Microsoft Graph List hostedContents hints: readOnly: true destructive: false idempotent: true call: chats-chats-chatmessage.chatsmessagesgethostedcontentscontent outputParameters: - type: object mapping: $. - name: microsoft-graph-update-media-content description: Microsoft Graph Update media content for the navigation property hostedContents in chats hints: readOnly: false destructive: false idempotent: true call: chats-chats-chatmessage.chatsmessagesupdatehostedcontentscontent with: body: tools.body outputParameters: - type: object mapping: $. - name: microsoft-graph-delete-media-content description: Microsoft Graph Delete media content for the navigation property hostedContents in chats hints: readOnly: false destructive: true idempotent: true call: chats-chats-chatmessage.chatsmessagesdeletehostedcontentscontent with: If-Match: tools.If-Match outputParameters: - type: object mapping: $. - name: microsoft-graph-get-replies-chats description: Microsoft Graph Get replies from chats hints: readOnly: true destructive: false idempotent: true call: chats-chats-chatmessage.chatsmessageslistreplies with: $orderby: tools.$orderby $select: tools.$select $expand: tools.$expand outputParameters: - type: object mapping: $. - name: microsoft-graph-create-new-navigation-2 description: Microsoft Graph Create new navigation property to replies for chats hints: readOnly: false destructive: false idempotent: false call: chats-chats-chatmessage.chatsmessagescreatereplies with: body: tools.body outputParameters: - type: object mapping: $. - name: microsoft-graph-get-number-resource-3 description: Microsoft Graph Get the number of the resource hints: readOnly: true destructive: false idempotent: true call: chats-chats-chatmessage.chatsmessagesrepliesgetcount10ad outputParameters: - type: object mapping: $. - name: microsoft-graph-invoke-function-delta-2 description: Microsoft Graph Invoke function delta hints: readOnly: true destructive: false idempotent: true call: chats-chats-chatmessage.chatschatmessageschatmessagerepliesdelta with: $select: tools.$select $orderby: tools.$orderby $expand: tools.$expand outputParameters: - type: object mapping: $. - name: microsoft-graph-get-replies-chats-2 description: Microsoft Graph Get replies from chats hints: readOnly: true destructive: false idempotent: true call: chats-chats-chatmessage.chatsmessagesgetreplies with: $select: tools.$select $expand: tools.$expand outputParameters: - type: object mapping: $. - name: microsoft-graph-update-navigation-property-3 description: Microsoft Graph Update the navigation property replies in chats hints: readOnly: false destructive: false idempotent: true call: chats-chats-chatmessage.chatsmessagesupdatereplies with: body: tools.body outputParameters: - type: object mapping: $. - name: microsoft-graph-delete-navigation-property-3 description: Microsoft Graph Delete navigation property replies for chats hints: readOnly: false destructive: true idempotent: true call: chats-chats-chatmessage.chatsmessagesdeletereplies with: If-Match: tools.If-Match outputParameters: - type: object mapping: $. - name: microsoft-graph-get-hostedcontents-chats description: Microsoft Graph Get hostedContents from chats hints: readOnly: true destructive: false idempotent: true call: chats-chats-chatmessage.chatsmessagesreplieslisthostedcontents with: $orderby: tools.$orderby $select: tools.$select $expand: tools.$expand outputParameters: - type: object mapping: $. - name: microsoft-graph-create-new-navigation-3 description: Microsoft Graph Create new navigation property to hostedContents for chats hints: readOnly: false destructive: false idempotent: false call: chats-chats-chatmessage.chatsmessagesrepliescreatehostedcontents with: body: tools.body outputParameters: - type: object mapping: $. - name: microsoft-graph-get-number-resource-4 description: Microsoft Graph Get the number of the resource hints: readOnly: true destructive: false idempotent: true call: chats-chats-chatmessage.chatsmessagesreplieshostedcontentsgetcountccd3 outputParameters: - type: object mapping: $. - name: microsoft-graph-get-hostedcontents-chats-2 description: Microsoft Graph Get hostedContents from chats hints: readOnly: true destructive: false idempotent: true call: chats-chats-chatmessage.chatsmessagesrepliesgethostedcontents with: $select: tools.$select $expand: tools.$expand outputParameters: - type: object mapping: $. - name: microsoft-graph-update-navigation-property-4 description: Microsoft Graph Update the navigation property hostedContents in chats hints: readOnly: false destructive: false idempotent: true call: chats-chats-chatmessage.chatsmessagesrepliesupdatehostedcontents with: body: tools.body outputParameters: - type: object mapping: $. - name: microsoft-graph-delete-navigation-property-4 description: Microsoft Graph Delete navigation property hostedContents for chats hints: readOnly: false destructive: true idempotent: true call: chats-chats-chatmessage.chatsmessagesrepliesdeletehostedcontents with: If-Match: tools.If-Match outputParameters: - type: object mapping: $. - name: microsoft-graph-get-media-content description: Microsoft Graph Get media content for the navigation property hostedContents from chats hints: readOnly: true destructive: false idempotent: true call: chats-chats-chatmessage.chatsmessagesrepliesgethostedcontentscontent outputParameters: - type: object mapping: $. - name: microsoft-graph-update-media-content-2 description: Microsoft Graph Update media content for the navigation property hostedContents in chats hints: readOnly: false destructive: false idempotent: true call: chats-chats-chatmessage.chatsmessagesrepliesupdatehostedcontentscontent with: body: tools.body outputParameters: - type: object mapping: $. - name: microsoft-graph-delete-media-content-2 description: Microsoft Graph Delete media content for the navigation property hostedContents in chats hints: readOnly: false destructive: true idempotent: true call: chats-chats-chatmessage.chatsmessagesrepliesdeletehostedcontentscontent with: If-Match: tools.If-Match outputParameters: - type: object mapping: $. - name: microsoft-graph-invoke-action-setreaction description: Microsoft Graph Invoke action setReaction hints: readOnly: false destructive: false idempotent: false call: chats-chats-chatmessage.chatschatmessageschatmessagereplieschatmessagesetreaction with: body: tools.body outputParameters: - type: object mapping: $. - name: microsoft-graph-invoke-action-softdelete description: Microsoft Graph Invoke action softDelete hints: readOnly: false destructive: false idempotent: false call: chats-chats-chatmessage.chatschatmessageschatmessagereplieschatmessagesoftdelete outputParameters: - type: object mapping: $. - name: microsoft-graph-invoke-action-undosoftdelete description: Microsoft Graph Invoke action undoSoftDelete hints: readOnly: false destructive: false idempotent: false call: chats-chats-chatmessage.chatschatmessageschatmessagereplieschatmessageundosoftdelete outputParameters: - type: object mapping: $. - name: microsoft-graph-invoke-action-unsetreaction description: Microsoft Graph Invoke action unsetReaction hints: readOnly: false destructive: false idempotent: false call: chats-chats-chatmessage.chatschatmessageschatmessagereplieschatmessageunsetreaction with: body: tools.body outputParameters: - type: object mapping: $. - name: microsoft-graph-invoke-action-setreaction-2 description: Microsoft Graph Invoke action setReaction hints: readOnly: false destructive: false idempotent: false call: chats-chats-chatmessage.chatschatmessageschatmessagesetreaction with: body: tools.body outputParameters: - type: object mapping: $. - name: microsoft-graph-invoke-action-softdelete-2 description: Microsoft Graph Invoke action softDelete hints: readOnly: false destructive: false idempotent: false call: chats-chats-chatmessage.chatschatmessageschatmessagesoftdelete outputParameters: - type: object mapping: $. - name: microsoft-graph-invoke-action-undosoftdelete-2 description: Microsoft Graph Invoke action undoSoftDelete hints: readOnly: false destructive: false idempotent: false call: chats-chats-chatmessage.chatschatmessageschatmessageundosoftdelete outputParameters: - type: object mapping: $. - name: microsoft-graph-invoke-action-unsetreaction-2 description: Microsoft Graph Invoke action unsetReaction hints: readOnly: false destructive: false idempotent: false call: chats-chats-chatmessage.chatschatmessageschatmessageunsetreaction with: body: tools.body outputParameters: - type: object mapping: $.