# Slack delete message

`slack__delete_message`

## Access

Requires a project integration connection for `slack`.

**Call type:** Can change resources.

## Arguments

| Field     | Type     | Required | Description and constraints                                                                                |
| --------- | -------- | -------- | ---------------------------------------------------------------------------------------------------------- |
| `channel` | `string` | Yes      | Channel ID containing the message                                                                          |
| `ts`      | `string` | Yes      | Timestamp (ts) of the message to delete. Only messages previously sent by this integration can be deleted. |

## 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](/docs/cloud/getting-started/connect-mcp.md).

```json title="request.json"
{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "tools/call",
  "params": {
    "name": "slack__delete_message",
    "arguments": {
      "channel": "example",
      "ts": "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](/docs/cloud/apis/integrations.md) for provider setup and tool context.

## Full schemas

```json title="input-schema.json"
{
  "type": "object",
  "properties": {
    "channel": {
      "type": "string",
      "description": "Channel ID containing the message"
    },
    "ts": {
      "type": "string",
      "description": "Timestamp (ts) of the message to delete. Only messages previously sent by this integration can be deleted."
    }
  },
  "required": [
    "channel",
    "ts"
  ],
  "description": "Arguments for the slack__delete_message tool."
}
```
