find_thread
Find the thread linked to a Slack message, Slack channel, or GitHub pull request, so you can trace where a result or task discussion lives. Returns the matching thread or null.
Instructions
Find the thread an external reference points at: a Slack message (slack_channel and slack_ts: the thread whose result was posted as that message or into that Slack thread), a Slack channel alone (the thread it is linked to), or a GitHub pull request (repo and pr_number: the thread tracking it, linked to it, or delivering to it). Returns the thread, or null when nothing in your workspace that you may read matches. The twin of GET /workspaces/{id}/thread-lookup.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "find_thread"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| repo | No | owner/name or a GitHub clone URL; with pr_number | |
| slack_ts | No | a Slack message ts such as 1700000000.000100; needs slack_channel | |
| pr_number | No | ||
| workspace_id | No | your own workspace (whoami's workspace_id); omitted, the same | |
| slack_channel | No | a Slack channel id such as C0123ABCD |