search_all
Find messages and files in Slack workspaces using search queries with customizable sorting and result limits.
Instructions
Search both messages and files across the Slack workspace.
Note: Requires a User Token (SLACK_USER_TOKEN) as search is not
available with bot tokens.
Args:
query: Search query string. Supports Slack search modifiers.
sort: Sort order - "timestamp" or "score". Default: "timestamp"
sort_dir: Sort direction - "asc" or "desc". Default: "desc"
count: Number of results per type (1-100). Default: 10
Returns:
Dictionary containing both message and file search results
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| query | Yes | ||
| sort | No | timestamp | |
| sort_dir | No | desc | |
| count | No |