Skip to main content
FuseFuse
IntegrationsMicrosoft teamsActions

List Microsoft Teams channel messages

List messages in a team channel.

Agent markdown

channel_messages.list · Microsoft Teams · v1

Details

Risk
Read
Idempotency
Safe
Availability
Default
Exposure
REST, SDK, MCP
MCP hints
readOnly=true, destructive=false, idempotent=true, openWorld=true

Scopes

  • ChannelMessage.Read.All

Input

Input schema
NameTypeRequiredConstraints
(root)objectYesadditionalProperties false
team_idstringYesminLength 1; maxLength 128
channel_idstringYesminLength 1; maxLength 128
cursorstringNominLength 1; maxLength 2048
limitintegerNominimum 1; maximum 50

Output

Output schema
NameTypeRequiredConstraints
(root)objectYesadditionalProperties false
messagesarray<object>Yes
messages[]objectYesadditionalProperties false
messages[].idstringYes
messages[].body_contentstringYes
messages[].body_content_typestringYesenum text | html
messages[].from_user_idstringNo
messages[].created_atstringNo
messages[].web_urlstringNo
messages[].reply_to_idstringNo
next_cursorstringNominLength 1; maxLength 2048

Raw schema

Input
{
  "type": "object",
  "additionalProperties": false,
  "properties": {
    "team_id": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128
    },
    "channel_id": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128
    },
    "cursor": {
      "type": "string",
      "minLength": 1,
      "maxLength": 2048
    },
    "limit": {
      "type": "integer",
      "minimum": 1,
      "maximum": 50
    }
  },
  "required": [
    "team_id",
    "channel_id"
  ]
}
Output
{
  "type": "object",
  "additionalProperties": false,
  "properties": {
    "messages": {
      "type": "array",
      "items": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "id": {
            "type": "string"
          },
          "body_content": {
            "type": "string"
          },
          "body_content_type": {
            "type": "string",
            "enum": [
              "text",
              "html"
            ]
          },
          "from_user_id": {
            "type": "string"
          },
          "created_at": {
            "type": "string"
          },
          "web_url": {
            "type": "string"
          },
          "reply_to_id": {
            "type": "string"
          }
        },
        "required": [
          "id",
          "body_content",
          "body_content_type"
        ]
      }
    },
    "next_cursor": {
      "type": "string",
      "minLength": 1,
      "maxLength": 2048
    }
  },
  "required": [
    "messages"
  ]
}