remove_model_collaborator
Remove an active collaborator from a model using their target_user_id. Requires Owner role on the model. To cancel a pending invite instead, use manage_collaborator with action=‘cancel_invite’ and the invite_id (grant_id) returned by manage_collaborator’s action=‘invite’. Cannot remove the only model owner. Pass workspace_id to target a model in a workspace other than your current one (requires an active membership and Owner grant on the model there; OAuth/JWT sessions only).
destructive
Parameters
Section titled “Parameters”| Name | Type | Required | Default | Description |
|---|---|---|---|---|
model_name | Annotated[str, Field(description='Name of the Bridge Town model. Caller must have Owner role.')] | Yes | — | |
target_user_id | Annotated[str, Field(description='UUID of the collaborator whose role or access to change.')] | Yes | — | |
workspace_id | `Annotated[str | None, Field(description=WORKSPACE_ID_FIELD_DESCRIPTION)]` | No | None |
Returns
Section titled “Returns”Returns a structured object. Top-level fields:
model(string)user_id(string)removed(boolean)
See the response example below for the full payload shape.
Example
Section titled “Example”Tool Call
Section titled “Tool Call”{ "name": "remove_model_collaborator", "arguments": { "model_name": "forecasts", "target_user_id": "33333333-3333-3333-3333-333333333333" }}Response
Section titled “Response”{ "model": "forecasts", "user_id": "33333333-3333-3333-3333-333333333333", "removed": true}- Module:
Collaborators - Requires authentication via API token or Auth0 JWT.