search_all
Search Slack messages and files by text, with modifiers to filter by channel, user, or date. Get results sorted by relevance or recency.
Instructions
Search for messages and files.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| query | Yes | Search text. Supports Slack modifiers like ``in:#channel``, ``from:@user``, and ``before:2024-01-31``. | |
| count | No | Results per page (default 20, max 100). | |
| highlight | No | Wrap matched terms in highlight markers in the response. | |
| page | No | 1-based page number to return. | |
| sort | No | Sort by ``score`` (relevance, default) or ``timestamp`` (recency). | |
| sort_dir | No | Sort direction, ``asc`` or ``desc`` (default ``desc``). | |
| team_id | No | Encoded team ID to scope the search to (for org-wide tokens). | |
| detailed | No | Return the full, uncompacted Slack response when True. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||