Skip to main content

Module groups

Module groups 

Source
Expand description

Group management MCP tool handlers.

Provides handlers for group CRUD operations via MCP tools.

Provides both consolidated (execute_groups) and legacy handlers.

Structsยง

GroupAddMemberArgs ๐Ÿ”’
Arguments for group_add_member tool.
GroupCreateArgs ๐Ÿ”’
Arguments for group_create tool.
GroupDeleteArgs ๐Ÿ”’
Arguments for group_delete tool.
GroupGetArgs ๐Ÿ”’
Arguments for group_get tool.
GroupRemoveMemberArgs ๐Ÿ”’
Arguments for group_remove_member tool.
GroupUpdateRoleArgs ๐Ÿ”’
Arguments for group_update_role tool.

Functionsยง

desc_or_none ๐Ÿ”’
Returns the description or โ€œ(none)โ€ if empty.
error_result ๐Ÿ”’
Creates an error result with text content.
execute_group_add_member
Executes the group_add_member tool.
execute_group_create
Executes the group_create tool.
execute_group_delete
Executes the group_delete tool.
execute_group_get
Executes the group_get tool.
execute_group_list
Executes the group_list tool.
execute_group_remove_member
Executes the group_remove_member tool.
execute_group_update_role
Executes the group_update_role tool.
execute_groups
Executes the consolidated subcog_groups tool.
execute_groups_add_member ๐Ÿ”’
Handles the add_member action for subcog_groups.
execute_groups_create ๐Ÿ”’
Handles the create action for subcog_groups.
execute_groups_delete ๐Ÿ”’
Handles the delete action for subcog_groups.
execute_groups_get ๐Ÿ”’
Handles the get action for subcog_groups.
execute_groups_list ๐Ÿ”’
Handles the list action for subcog_groups.
execute_groups_remove_member ๐Ÿ”’
Handles the remove_member action for subcog_groups.
execute_groups_update_role ๐Ÿ”’
Handles the update_role action for subcog_groups.
get_org_id ๐Ÿ”’
Gets the current organization ID from environment.
get_user_id ๐Ÿ”’
Gets the current user ID from environment.
parse_args ๐Ÿ”’
Parses JSON arguments, converting errors to crate Error type.
parse_role ๐Ÿ”’
Parses a role string into a GroupRole.
text_result ๐Ÿ”’
Creates a success result with text content.