search_all
Search Slack messages and files with advanced filters like channel, user, and date. Sort results by relevance or recency.
Instructions
Search for messages and files.
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": "search_all"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| page | No | 1-based page number to return. | |
| sort | No | Sort by ``score`` (relevance, default) or ``timestamp`` (recency). | |
| count | No | Results per page (default 20, max 100). | |
| query | Yes | Search text. Supports Slack modifiers like ``in:#channel``, ``from:@user``, and ``before:2024-01-31``. | |
| 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. | |
| sort_dir | No | Sort direction, ``asc`` or ``desc`` (default ``desc``). | |
| highlight | No | Wrap matched terms in highlight markers in the response. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||