Home / Servers / Slack API / chat_delete

Deletes a message.

An MCP tool from the Slack API server, hosted on mcp.hjlabs.in.

Deletes a message. [POST /chat.delete]

Name on the gateway: slack_api__chat_delete · may change things.

Parameters

NameTypeDescription
tsnumberTimestamp of the message to be deleted.
channelstringChannel containing the message to be deleted.
as_userbooleanPass true to delete the message as the authed user with chat:write:user scope.…

How to call it

Through the Smart Gateway, any client can run it by name with call_tool, or let the gateway find it with search_tools:

call_tool arguments
{
  "name": "slack_api__chat_delete",
  "arguments": {}
}

Or connect the Slack API server directly, which lists 174 tools including this one:

Run in your terminal
claude mcp add --transport http hj-slack-api https://mcp.hjlabs.in/mcp/slack-api \
  --header "Authorization: Bearer YOUR_API_KEY"

Try asking

Use the deletes a message. tool with ts set to ….

More from Slack API