Skip to content
Denne side findes på dansk. Læs på dansk
HeyMySocial

manage_member

Change a role, remove a member or withdraw an invitation

removes listed directly

Changes who may work here. action change_role: give a workspace member another role and/or mark them as a client collaborator (membership_id from list_members). action remove: take a member out of this workspace; they lose access at once. action revoke_invitation: withdraw an invitation that has not been accepted (invitation_id).

With scope organization, change_role and remove act on an owner or admin of the whole organization (organization_membership_id): only owners and admins may do that, ownership itself changes hands only in the app, and an organization always keeps at least one owner. Every action is the person's decision: call it with person_confirmed: true only after you have named the person, what changes and what they lose, and they said yes. Nothing is deleted from the workspace's data. Needs the right to manage members.

Arguments

NameTypeNeededWhat it is
action string yes What to do.One of: change_role, remove, revoke_invitation
scope string no workspace (default): a member of this workspace. organization: an owner or admin of the organization.One of: workspace, organization
membership_id string no For change_role and remove in the workspace: membership_id from list_members.
organization_membership_id string no For change_role and remove with scope organization: organization_membership_id from list_members.
invitation_id string no For revoke_invitation: invitation_id from list_members.
role string no For change_role in the workspace: the new role. Leave out to keep the role.One of: manager, strategist, publisher, paid_operator, sales_collaborator, analyst
client_collaborator boolean no For change_role in the workspace: whether the member is on the client's side. Leave out to keep it.
organization_role string no For change_role with scope organization: the new organization role.One of: admin, member
person_confirmed boolean no Set true only after the person has seen exactly who is affected, what changes and what access they lose and told you, in this conversation, to go ahead. Never set it on your own initiative.

Like every workspace tool it also takes workspace: a workspace id or slug. Leave it out to use the workspace the person last worked in.

How it behaves

  • It changes something in the workspace, within what the signed-in person's role allows.
  • It can remove something for good, so an assistant is expected to ask the person first.
  • It is in the list every assistant sees when it connects.
  • It is always called by its own name, never through execute_tools, so the assistant's own safety prompts apply.

How tools behave: confirmation, review links, errors and limits

get_plan_usage · invite_member · list_audit_events · list_available_integrations · list_connections · list_members · list_notifications · list_workspaces_summary