Slack get messages

slack__get_messages

Access

Requires a project integration connection for slack.

Call type: Can read or manage credentials.

Arguments

FieldTypeRequiredDescription and constraints
channelstringYesChannel ID
limitnumberNoMax messages (1-1000)
oldeststringNoOnly messages after this timestamp

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": "slack__get_messages",
    "arguments": {
      "channel": "example"
    }
  }
}

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 slack integration reference for provider setup and tool context.

Full schemas

json
{
  "type": "object",
  "properties": {
    "channel": {
      "type": "string",
      "description": "Channel ID"
    },
    "limit": {
      "type": "number",
      "description": "Max messages (1-1000)"
    },
    "oldest": {
      "type": "string",
      "description": "Only messages after this timestamp"
    }
  },
  "required": [
    "channel"
  ],
  "description": "Arguments for the slack__get_messages tool."
}