search_messages
Retrieve messages matching a query across the Slack workspace. Requires a user token (xoxp-) with search:read permission, as bot tokens are not supported.
Instructions
Search for messages across the workspace. Requires a user token (xoxp-) with search:read scope — bot tokens (xoxb-) are not supported by Slack's search API.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| count | No | Number of results to return | |
| query | Yes | Search query string |