kdeps-tools-slack_socket_open
v1.0.0Open a Slack Socket Mode connection: POST https://slack.com/api/apps.connections.open with the app-level token and return the JSON with the websocket url. The slack_events listener calls it before each connect. Requires SLACK_APP_TOKEN or the vault secret slack_app_token.
set tools / shelf tools
LLM context: ~75 tokens when loaded (prompt or tool definition)
Where it runs
Part of the tools set, used in workflow and agent mode. What the model is told about each built-in tool: its description, usage notes and parameters. kdeps runs the tool itself.
- the agent loop builds the request
- the tool definitions are sent to the modeltools/slack_socket_open
- the model calls a tool
- kdeps runs it
- the result goes back to the model
Loaded by: kdeps (agent loop), kdeps new, kdeps run, kdeps install, kdeps list, kdeps uninstall, kdeps update, kdeps upgrade
In the code: kdeps (agent loop)executor.(*Engine).Executeparallel.Runjudge.Panelagent.runJudgePanelagent.definedAs
Install
A kdeps asset: installed with the first-run profile that includes its set, or the first time a command needs it, and updated without a new release.
Pin a version with kdeps install tools/slack_socket_open@<version>.
Contents
Open a Slack Socket Mode connection: POST https://slack.com/api/apps.connections.open with the app-level token and return the JSON with the websocket url. The slack_events listener calls it before each connect. Requires SLACK_APP_TOKEN or the vault secret slack_app_token.
| Parameter | Type | Description |
|---|
HTTP call (declared in YAML, no Go code)
https://slack.com/api/apps.connections.openOffered when set: SLACK_APP_TOKEN | secret:slack_app_token
- Authorization:
- Bearer {{.env.TOKEN}}
- Content-Type:
- application/x-www-form-urlencoded
- User-Agent:
- kdeps
version: 1.0.0
description: 'Open a Slack Socket Mode connection: POST https://slack.com/api/apps.connections.open with the app-level token and return the JSON with the websocket url. The slack_events listener calls it before each connect. Requires SLACK_APP_TOKEN or the vault secret slack_app_token.'
parameters: {}
http:
env:
TOKEN: [SLACK_APP_TOKEN, "secret:slack_app_token"]
method: POST
url: 'https://slack.com/api/apps.connections.open'
headers:
Authorization: 'Bearer {{.env.TOKEN}}'
Content-Type: application/x-www-form-urlencoded
User-Agent: kdeps
Versions
| Version | Published | Status | Source |
|---|---|---|---|
| 1.0.0 | 11/26/2026 | active | GitHub v1.0.0 |
Details
- Author
- kdeps
- License
- Apache-2.0
- Latest Version
- 1.0.0
- Published
- 11/26/2026