Slack · Capability
Slack Search API — Get
Slack Search API — Get. 1 operations. Lead operation: Slack Get Search Messages. Self-contained Naftiko capability covering one Slack business surface.
What You Can Do
GET
Getsearchmessages
— Slack Get Search Messages
/v1/search-messages
MCP Tools
slack-get-search-messages
Slack Get Search Messages
read-only
idempotent
Capability Spec
naftiko: 1.0.0-alpha2
info:
label: Slack Search API — Get
description: 'Slack Search API — Get. 1 operations. Lead operation: Slack Get Search Messages. Self-contained Naftiko capability
covering one Slack business surface.'
tags:
- Slack
- Get
created: '2026-05-19'
modified: '2026-05-19'
binds:
- namespace: env
keys:
SLACK_API_KEY: SLACK_API_KEY
capability:
consumes:
- type: http
namespace: search-get
baseUri: ''
description: Slack Search API — Get business capability. Self-contained, no shared references.
resources:
- name: search.messages
path: /search.messages
operations:
- name: getsearchmessages
method: GET
description: Slack Get Search Messages
outputRawFormat: json
outputParameters:
- name: result
type: object
value: $.
inputParameters:
- name: token
in: query
type: string
description: 'Authentication token. Requires scope: `search:read`'
required: true
- name: count
in: query
type: integer
description: Pass the number of results you want per "page". Maximum of `100`.
- name: highlight
in: query
type: boolean
description: Pass a value of `true` to enable query highlight markers (see below).
- name: page
in: query
type: integer
- name: query
in: query
type: string
description: Search query.
required: true
- name: sort
in: query
type: string
description: Return matches sorted by either `score` or `timestamp`.
- name: sort_dir
in: query
type: string
description: Change sort direction to ascending (`asc`) or descending (`desc`).
exposes:
- type: rest
namespace: search-get-rest
port: 8080
description: REST adapter for Slack Search API — Get. One Spectral-compliant resource per consumed operation, prefixed
with /v1.
resources:
- path: /v1/search-messages
name: search-messages
description: REST surface for search.messages.
operations:
- method: GET
name: getsearchmessages
description: Slack Get Search Messages
call: search-get.getsearchmessages
with:
token: rest.token
count: rest.count
highlight: rest.highlight
page: rest.page
query: rest.query
sort: rest.sort
sort_dir: rest.sort_dir
outputParameters:
- type: object
mapping: $.
- type: mcp
namespace: search-get-mcp
port: 9090
transport: http
description: MCP adapter for Slack Search API — Get. One tool per consumed operation, routed inline through this capability's
consumes block.
tools:
- name: slack-get-search-messages
description: Slack Get Search Messages
hints:
readOnly: true
destructive: false
idempotent: true
call: search-get.getsearchmessages
with:
token: tools.token
count: tools.count
highlight: tools.highlight
page: tools.page
query: tools.query
sort: tools.sort
sort_dir: tools.sort_dir
outputParameters:
- type: object
mapping: $.