Teams send message

teams__send_message

Access

Requires a project integration connection for teams.

Call type: Can change resources.

Arguments

FieldTypeRequiredDescription and constraints
teamIdstringYesMicrosoft Teams team ID
channelIdstringYesMicrosoft Teams channel ID
bodyobjectYesMessage body object with contentType ('text' or 'html') and content fields

Example request

Send this JSON-RPC request through an initialized MCP client. Replace sample identifiers and values before calling the tool. See MCP client setup.

json
{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "tools/call",
  "params": {
    "name": "teams__send_message",
    "arguments": {
      "teamId": "example",
      "channelId": "example",
      "body": {}
    }
  }
}

Result

No output schema is published for this tool. The input contract does not define its return fields. Inspect the MCP response content and isError; do not assume a fixed object shape. See the teams integration reference for provider setup and tool context.

Full schemas

json
{
  "type": "object",
  "properties": {
    "teamId": {
      "type": "string",
      "description": "Microsoft Teams team ID"
    },
    "channelId": {
      "type": "string",
      "description": "Microsoft Teams channel ID"
    },
    "body": {
      "type": "object",
      "description": "Message body object with contentType ('text' or 'html') and content fields"
    }
  },
  "required": [
    "teamId",
    "channelId",
    "body"
  ],
  "description": "Arguments for the teams__send_message tool."
}