clerk.create_role_set
ActiveTool of Vee3
declared in 1.27.1
Create a new role set in a connected Clerk application. Call clerk.get_connected_accounts first. Pass clerk_instance_id to target a specific connection, or omit it to use the default account. Returns the new role set summary. Cost = 10 tokens.
Parameters schema
{
"type": "object",
"title": "create_clerk_role_setArguments",
"required": [
"name",
"default_role_key",
"creator_role_key",
"roles"
],
"properties": {
"key": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Key",
"default": null,
"description": "Unique role set key."
},
"name": {
"type": "string",
"title": "Name",
"description": "Role set display name."
},
"type": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Type",
"default": null,
"description": "Role set type."
},
"roles": {
"type": "array",
"items": {
"type": "string"
},
"title": "Roles",
"description": "Role keys to include in the role set."
},
"description": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Description",
"default": null,
"description": "Role set description."
},
"creator_role_key": {
"type": "string",
"title": "Creator Role Key",
"description": "Key of the role assigned to organization creators."
},
"default_role_key": {
"type": "string",
"title": "Default Role Key",
"description": "Key of the default role for new members."
},
"clerk_instance_id": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Clerk Instance Id",
"default": null,
"description": "Clerk instance id (ins_...) from clerk.get_connected_accounts. Omit to use the default connected account."
}
}
}Parent server
Vee3
https://github.com/Vee3io/Vee3
1/7 registries