search_messages
Search for messages in a Slack workspace using a query, with options to sort by relevance or timestamp and control the number of results returned.
Instructions
Search for messages across the Slack workspace.
Args: query: Search query sort: Sort by 'score' or 'timestamp' sort_dir: Sort direction 'asc' or 'desc' count: Number of results to return
Input Schema
Name | Required | Description | Default |
---|---|---|---|
count | No | ||
query | Yes | ||
sort | No | timestamp | |
sort_dir | No | desc |
Input Schema (JSON Schema)
{
"properties": {
"count": {
"default": 20,
"title": "Count",
"type": "integer"
},
"query": {
"title": "Query",
"type": "string"
},
"sort": {
"default": "timestamp",
"title": "Sort",
"type": "string"
},
"sort_dir": {
"default": "desc",
"title": "Sort Dir",
"type": "string"
}
},
"required": [
"query"
],
"type": "object"
}