feat(tools): added more slack tools#2212
Merged
waleedlatif1 merged 1 commit intostagingfrom Dec 5, 2025
Merged
Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
Contributor
Greptile OverviewGreptile SummaryThis PR expands Slack integration by adding four new workspace management tools: list channels, list channel members, list users, and get user info. Key Changes:
Additional Improvements:
All new tools follow established patterns, include proper OAuth integration, error handling, and pagination support. Confidence Score: 5/5
Important Files ChangedFile Analysis
Sequence DiagramsequenceDiagram
participant User
participant Block as Slack Block UI
participant Tool as Slack Tool
participant API as Slack API
Note over User,API: List Channels Flow
User->>Block: Select "List Channels" operation
Block->>Tool: slack_list_channels(accessToken, includePrivate, limit)
Tool->>API: GET conversations.list?types=public_channel,private_channel
API-->>Tool: Return channels array
Tool-->>Block: {channels: [...], count: n}
Block-->>User: Display channel list
Note over User,API: List Channel Members Flow
User->>Block: Select "List Channel Members" + channel
Block->>Tool: slack_list_members(accessToken, channel, limit)
Tool->>API: GET conversations.members?channel=C123
API-->>Tool: Return member IDs array
Tool-->>Block: {members: [U123, U456], count: n}
Block-->>User: Display member IDs
Note over User,API: List Users Flow
User->>Block: Select "List Users" operation
Block->>Tool: slack_list_users(accessToken, includeDeleted, limit)
Tool->>API: GET users.list
API-->>Tool: Return users array
Tool-->>Block: {users: [...profiles...], count: n}
Block-->>User: Display user profiles
Note over User,API: Get User Info Flow
User->>Block: Select "Get User Info" + userId
Block->>Tool: slack_get_user(accessToken, userId)
Tool->>API: GET users.info?user=U123
API-->>Tool: Return detailed user object
Tool-->>Block: {user: {...detailed profile...}}
Block-->>User: Display user details
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Type of Change
Testing
Tested manually
Checklist