{ "name": "UpdateSlackUsergroupUsers", "fully_qualified_name": "SlackApi.UpdateSlackUsergroupUsers@0.1.0", "description": "Update the list of users in a Slack user group.\n\nThis tool updates the list of users for a specified Slack user group. It should be called when changes to the membership of a Slack user group are required.", "toolkit": { "name": "ArcadeSlackApi", "description": null, "version": "0.1.0" }, "input": { "parameters": [ { "name": "user_group_id", "required": true, "description": "The encoded ID of the Slack user group to update.", "value_schema": { "val_type": "string", "inner_val_type": null, "enum": null, "properties": null, "inner_properties": null, "description": null }, "inferrable": true, "http_endpoint_parameter_name": "usergroup" }, { "name": "user_ids_list", "required": true, "description": "A comma separated string of encoded Slack user IDs representing the complete user list for the group. This replaces all current members.", "value_schema": { "val_type": "array", "inner_val_type": "string", "enum": null, "properties": null, "inner_properties": null, "description": null }, "inferrable": true, "http_endpoint_parameter_name": "users" }, { "name": "team_id_for_org_token", "required": false, "description": "Encoded team ID where the user group exists. Required if using an organization token; ignored with workspace-level token.", "value_schema": { "val_type": "string", "inner_val_type": null, "enum": null, "properties": null, "inner_properties": null, "description": null }, "inferrable": true, "http_endpoint_parameter_name": "team_id" }, { "name": "update_additional_channels", "required": false, "description": "Encoded channel IDs to add user group members to, separated by commas. These represent additional channels for custom user group member additions.", "value_schema": { "val_type": "array", "inner_val_type": "string", "enum": null, "properties": null, "inner_properties": null, "description": null }, "inferrable": true, "http_endpoint_parameter_name": "additional_channels" }, { "name": "include_user_count", "required": false, "description": "Set to true to include the number of users in the user group in the response.", "value_schema": { "val_type": "boolean", "inner_val_type": null, "enum": null, "properties": null, "inner_properties": null, "description": null }, "inferrable": true, "http_endpoint_parameter_name": "include_count" }, { "name": "is_shared_section", "required": false, "description": "Indicates if the API call involves a shared section. Set to true if it does, otherwise false.", "value_schema": { "val_type": "boolean", "inner_val_type": null, "enum": null, "properties": null, "inner_properties": null, "description": null }, "inferrable": true, "http_endpoint_parameter_name": "is_shared" } ] }, "output": { "description": "Response from the API endpoint 'usergroups.users.update'.", "available_modes": [ "value", "error", "null" ], "value_schema": { "val_type": "json", "inner_val_type": null, "enum": null, "properties": null, "inner_properties": null, "description": null } }, "requirements": { "authorization": { "provider_id": "arcade-slack", "provider_type": "oauth2", "id": null, "oauth2": { "scopes": [ "usergroups:write" ] } }, "secrets": null, "metadata": null }, "deprecation_message": null, "metadata": { "object_type": "api_wrapper_tool", "version": "1.0.0", "description": "Arcade Wrapper Tools enabling LLMs to interact with low-level Slack API endpoints." }, "http_endpoint": { "metadata": { "object_type": "http_endpoint", "version": "1.0.0", "description": "" }, "url": "https://slack.com/api/usergroups.users.update", "http_method": "POST", "headers": { "Content-Type": "application/x-www-form-urlencoded" }, "parameters": [ { "name": "usergroup", "tool_parameter_name": "user_group_id", "description": "The encoded ID of the user group to update.", "value_schema": { "val_type": "string", "inner_val_type": null, "enum": null, "properties": null, "inner_properties": null, "description": null }, "accepted_as": "body", "required": true, "deprecated": false, "documentation_urls": [] }, { "name": "users", "tool_parameter_name": "user_ids_list", "description": "A comma separated string of encoded user IDs that represent the entire list of users for the user group.", "value_schema": { "val_type": "array", "inner_val_type": "string", "enum": null, "properties": null, "inner_properties": null, "description": null }, "accepted_as": "body", "required": true, "deprecated": false, "documentation_urls": [] }, { "name": "include_count", "tool_parameter_name": "include_user_count", "description": "Include the number of users in the user group.", "value_schema": { "val_type": "boolean", "inner_val_type": null, "enum": null, "properties": null, "inner_properties": null, "description": null }, "accepted_as": "body", "required": false, "deprecated": false, "documentation_urls": [] }, { "name": "team_id", "tool_parameter_name": "team_id_for_org_token", "description": "Encoded team id where the user group exists, required if org token is used.", "value_schema": { "val_type": "string", "inner_val_type": null, "enum": null, "properties": null, "inner_properties": null, "description": null }, "accepted_as": "body", "required": false, "deprecated": false, "documentation_urls": [] }, { "name": "additional_channels", "tool_parameter_name": "update_additional_channels", "description": "A comma separated string of encoded channel IDs for which the User Group can custom add usergroup members to.", "value_schema": { "val_type": "array", "inner_val_type": "string", "enum": null, "properties": null, "inner_properties": null, "description": null }, "accepted_as": "body", "required": false, "deprecated": false, "documentation_urls": [] }, { "name": "is_shared", "tool_parameter_name": "is_shared_section", "description": "Boolean to identify if the API is getting called when a shared section is getting shared", "value_schema": { "val_type": "boolean", "inner_val_type": null, "enum": null, "properties": null, "inner_properties": null, "description": null }, "accepted_as": "body", "required": false, "deprecated": false, "documentation_urls": [] } ], "documentation_urls": [ "https://docs.slack.dev/reference/methods/usergroups.users.update" ], "secrets": [ { "arcade_key": "auth_token", "parameter_name": "Authorization", "accepted_as": "header", "formatted_value": "Bearer {authorization}", "description": "The OAuth token to use for authentication.", "is_auth_token": true } ] } }