Bot Management
Manage the entire lifecycle of bots, from creation and configuration to deployment and retirement.
Overview
Tool Name
Purpose
The bot_management_tools enable users to manage the entire lifecycle of bots. These tools support the creation, configuration, deployment, and retirement of bots, ensuring seamless management and adaptability as workflows, tasks, and organizational needs evolve.
Functions Available
-
make_baby_bot: Creates a new bot with custom instructions and tool access.
-
add_new_tools_to_bot: Adds additional tools to an existing bot to extend functionality.
-
remove_tools_from_bot: Removes existing tools from a bot to modify its capabilities.
-
update_bot_instructions: Updates the operational instructions (system prompt) for a bot.
-
update_app_level_key: Updates the Slack app-level key for deployment in the Slack workspace.
-
_update_bot_implementation: Changes the bot’s underlying implementation type (e.g., switching between AI models).
-
_remove_bot: Deletes a bot and removes associated resources.
-
_deploy_to_slack: Activates the bot in your Slack workspace for communication and interaction.
-
_modify_slack_allow_list: Manages bot access permissions in Slack, including adding or removing users/groups.
-
_list_all_bots: Retrieves a list of all bots to monitor their status, instructions, tools, and deployment settings.
Key Features
Create & Configure Bots
Create new bots with unique functionalities, tool access, and configurations.
Modify Bot Capabilities
Update bot instructions or add/remove tools to extend or restrict functionality.
Deploy & Deactivate
Deploy or deactivate bots in Slack for effective collaboration and interaction.
Retire Bots
Retire bots when they are no longer needed, ensuring efficient resource usage.
Input Parameters
make_baby_bot | Create a New Bot with Custom Instructions & Tools | |
---|---|---|
Input Parameters | Definition | Format |
bot_id | A unique identifier for the bot (e.g., "task_bot_abc123" ). | String |
bot_name | Name of the bot (e.g., "Task Automation Bot" ). | String |
bot_instructions | Detailed system instructions for the bot (e.g., "You are a task automation bot." ). | String |
available_tools (Optional) | Comma-separated list of tools for the bot (e.g., "database_tools,email_tools" ). | String |
runner_id (Optional) | Identifier for the server running the bot. | String |
activate_slack | Set to "Y" to deploy in Slack automatically (default: "Y" ). | String |
slack_access_open | Boolean flag to enable open Slack access (default: True ). | Boolean |
add_new_tools_to_bot | Add Additional Tools to an Existing Bot | |
---|---|---|
Input Parameters | Definition | Format |
bot_id | Unique identifier of the bot. | String |
new_tools | List of tools to add (e.g., ["email_tools", "harvest_control_tools"] ). | List |
remove_tools_from_bot | Remove Tools from an Existing Bot | |
---|---|---|
Input Parameters | Definition | Format |
bot_id | Unique identifier of the bot. | String |
remove_tools | List of tools to remove (e.g., ["google_drive_tools"] ). | List |
update_bot_instructions | Update the Operational Instructions (System Prompt) for a Bot | |
---|---|---|
Input Parameters | Definition | Format |
bot_id | Unique identifier of the bot. | String |
new_instructions | New instructions or system prompt (string). | String |
update_app_level_key | Update the Slack App-Level Key for a Bot | |
---|---|---|
Input Parameters | Definition | Format |
bot_id | Unique identifier of the bot. | String |
slack_app_level_key | Updated Slack app-level key for workspace integration. | String |
_update_bot_implementation | Change the Bot’s Underlying Implementation Type (e.g., AI Model) | |
---|---|---|
Input Parameters | Definition | Format |
bot_id | Unique identifier of the bot. | String |
bot_implementation | New implementation type (e.g., "openai" , "cortex" ). | String |
_remove_bot | Delete a Bot & Its Associated Resources | |
---|---|---|
Input Parameters | Definition | Format |
bot_id | Identifier of the bot to be permanently deleted. | String |
_deploy_to_slack | Activate a Bot in the Slack Workspace | |
---|---|---|
Input Parameters | Definition | Format |
bot_id | Identifier of the bot for Slack deployment. | String |
_modify_slack_allow_list | Manage Bot Access Permissions in Slack | |
---|---|---|
Input Parameters | Definition | Format |
bot_id | Unique identifier of the bot. | String |
action | Action to perform (e.g., "LIST" , "GRANT ALL" , "REVOKE ALL" ). | String |
user_identifier (Optional) | Slack user ID to grant/revoke. | String |
user_name (Optional) | Slack username for granting/revoking user permissions. | String |
_list_all_bots | Retrieve a List of All Managed Bots | |
---|---|---|
Input Parameters | Definition | Format |
with_instructions (Optional) | Boolean indicating whether to include full instructions in the listing. | Boolean |
Output
-
Bot Lifecycle Management
-
Confirms successful creation, updates (e.g., instructions, tools), or deletion of bots.
-
Provides a list of existing bots along with key configuration details.
-
-
Slack Deployment
- Confirms whether the bot has been deployed to Slack successfully, including any access permissions or allow-list changes.
-
Tool & Instruction Management
- Return messages confirming added or removed tools, as well as updated instructions or Slack app-level keys.
Genbot Tip
-
Use meaningful
bot_id
andbot_name
values to track and manage multiple bots efficiently. -
Regularly review and update bot instructions to keep pace with evolving workflows or organizational changes.
How It Works
Users define a bot’s identity using make_baby_bot, specifying instructions and which tools to enable. Over time, the bot’s capabilities can be expanded or refined using add_new_tools_to_bot, remove_tools_from_bot, or update_bot_instructions. Integration with Slack is facilitated through update_app_level_key and _deploy_to_slack, while _modify_slack_allow_list manages user permissions. When no longer needed, a bot can be decommissioned via _remove_bot, ensuring clean retirement of resources.
IMPORTANT NOTE
-
Deletions are permanent—back up bot instructions or configurations if you anticipate needing them later.
-
Extensive updates to bot tools or instructions may momentarily disrupt ongoing tasks—plan maintenance windows accordingly.
-
Overuse of Slack deployment or notifications can cause alert fatigue—focus on critical notifications.