set_space_role_members
Replace members assigned to a specific role on a Huly space without affecting other role assignments. Accepts role ID or name, and member UUIDs, emails, or names.
Instructions
Replace members assigned to one role on a typed Huly space while preserving all other role assignments. Role accepts a raw role _id or exact role name from the space's SpaceType. Members accept account UUID, exact email, or exact person display name; pass members=[] to clear this role.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| space | Yes | a string that will be trimmed | |
| class | No | a string that will be trimmed | |
| type | No | a string that will be trimmed | |
| role | Yes | a string that will be trimmed | |
| members | Yes | Replacement member list for this role only. Each entry may be an account UUID, exact email address, or exact person name. Pass [] to clear this role. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes | The successful tool result. The same value is also serialized as JSON in the text content for clients that do not read structuredContent. | |
| warnings | No | Optional agent-visible warnings about degraded result fidelity. Omitted when the server returned the documented happy-path payload. |