#15626: Slack: add channel create for message tool
channel: slack
cli
agents
size: S
Cluster:
Slack Integration Enhancements
## Summary
- add Slack channel create action for the message tool
- add Discord channel create support
- fix Slack read-token override gating for read-only actions
## Testing
- `pnpm check` (fails on upstream `src/gateway/server/ws-connection.ts` control-regex lint)
- `pnpm build`
- `pnpm test` (fails: missing `@matrix-org/matrix-sdk-crypto-nodejs-darwin-arm64` for Matrix tests on this host)
<!-- greptile_comment -->
<h2>Greptile Overview</h2>
<h3>Greptile Summary</h3>
This PR adds a new channel-create action to the message tool UX/schema, wires Slack to support `channelCreate` (including optional topic + private flag), adds a corresponding CLI command, and adjusts Slack action execution to prefer user tokens for read-only operations.
Most of the integration is consistent across the message tool, Slack adapter, and Slack action handler. One issue remains in shared tool param parsing: boolean required validation errors are thrown as generic errors rather than the project’s `ToolInputError`, which will change how these errors surface to callers.
<h3>Confidence Score: 4/5</h3>
- Mostly safe to merge once the ToolInputError inconsistency is fixed
- Changes are localized (Slack/Discord channel creation + Slack token gating) and tests added cover the new Slack channelCreate path. The remaining issue is a concrete error-type inconsistency in shared param parsing that can alter API error classification for required boolean params.
- src/agents/tools/common.ts (readBooleanParam error type)
<sub>Last reviewed commit: 61581b1</sub>
<!-- greptile_other_comments_section -->
<sub>(4/5) You can add custom instructions or style guidelines for the agent [here](https://app.greptile.com/review/github)!</sub>
<!-- /greptile_comment -->
Most Similar PRs
#11491: feat(slack): allow agents to resolve channel IDs to names and list ...
by Lukavyi · 2026-02-07
84.5%
#2917: Slack: fix thread context + prevent reply spillover
by SocialNerd42069 · 2026-01-27
80.1%
#9520: fix: ignore slack already_reacted
by bolismauro · 2026-02-05
79.9%
#15864: feat: add deliverOnlyToolMessages config for clean messaging channe...
by gandalf-the-engineer · 2026-02-14
79.1%
#2084: Add Slack canvas read/create/update support
by alfongj-com · 2026-01-26
78.0%
#6553: feat(slack): expose thread-reply action
by erauner12 · 2026-02-01
77.4%
#9985: feat(slack): add channel-aware context for AI Assistant threads
by natedenh · 2026-02-05
76.9%
#7404: feat(slack): add Socket Mode bot + auto-join + bridge scaffolding; ad…
by zprager · 2026-02-02
76.9%
#13486: fix: allow Slack HTTP mode without app token
by SepehrShapouri · 2026-02-10
75.9%
#11920: Telegram: create forum topics via message tool (thread-create)
by larsderidder · 2026-02-08
75.8%