slack_search_messages
Search messages across your Slack workspace with operators like in:#channel, from:@user, and date filters.
Instructions
Search messages across the workspace (read-only). Requires a user token (SLACK_USER_TOKEN with search:read) — bot tokens cannot search. Supports Slack search operators like in:#channel, from:@user, before:YYYY-MM-DD.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"query": "<query>"
},
"name": "slack_search_messages"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| query | Yes | Search query, e.g. "deploy in:#general from:@someuser before:2026-01-01". | |
| count | No | Results per page (default 20). | |
| page | No | Page number (default 1). |