Skip to content

armgit / camel

Public Imported from GitHub
0

🐫 CAMEL: The first and the best multi-agent framework. Finding the Scaling Law of Agents. https://www.camel-ai.org

Auto-update documentation after merge [skip ci]

camel-docs-bot24fa71f8d9ab
diff --git a/docs/mintlify/reference/camel.toolkits.slack_toolkit.mdx b/docs/mintlify/reference/camel.toolkits.slack_toolkit.mdx
index eefd97bb2..2d683d214 100644
--- a/docs/mintlify/reference/camel.toolkits.slack_toolkit.mdx
+++ b/docs/mintlify/reference/camel.toolkits.slack_toolkit.mdx
@@ -161,7 +161,8 @@ def send_slack_message(
Send a message to a Slack channel. When use this function you must
call `get_slack_channel_information` function first to get the
-`channel id`.
+`channel id`. If use user, you must use `get_slack_user_list`
+function first to get the user id.
**Parameters:**
@@ -196,6 +197,40 @@ must call `get_slack_channel_information` function first to get the
str: A string containing the API response from Slack.
+<a id="camel.toolkits.slack_toolkit.SlackToolkit.get_slack_user_list"></a>
+
+### get_slack_user_list
+
+```python
+def get_slack_user_list(self):
+```
+
+**Returns:**
+
+ str: A JSON string representing a list of users. Each user
+object contains 'id', 'name'.
+
+<a id="camel.toolkits.slack_toolkit.SlackToolkit.get_slack_user_info"></a>
+
+### get_slack_user_info
+
+```python
+def get_slack_user_info(self, user_id: str):
+```
+
+Retrieve information about a specific user in the Slack workspace.
+normally, you don't need to use this method, when you need to get a
+user's detailed information, use this method. Use `get_slack_user_list`
+function first to get the user id.
+
+**Parameters:**
+
+- **user_id** (str): The ID of the user to retrieve information about.
+
+**Returns:**
+
+ str: A JSON string representing the user's information.
+
<a id="camel.toolkits.slack_toolkit.SlackToolkit.get_tools"></a>
### get_tools