search_files
Search for files in Slack using text queries and filters like channel, user, and file type.
Instructions
Search for files matching a query.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| query | Yes | Search text. Supports Slack modifiers like ``in:#channel``, ``from:@user``, and ``type:`` filters. | |
| 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 | |||