clerk.add_role_set_roles
ActiveTool of Vee3
declared in 1.27.1
Add roles to a 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 updated role set summary. Cost = 8 tokens.
Parameters schema
{
"type": "object",
"title": "add_clerk_role_set_rolesArguments",
"required": [
"role_set_id",
"role_keys"
],
"properties": {
"role_keys": {
"type": "array",
"items": {
"type": "string"
},
"title": "Role Keys",
"description": "Role keys to add to the role set."
},
"role_set_id": {
"type": "string",
"title": "Role Set Id",
"description": "Clerk role set id or key to retrieve, update, or modify."
},
"creator_role_key": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Creator Role Key",
"default": null,
"description": "Updated creator role key after adding roles."
},
"default_role_key": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Default Role Key",
"default": null,
"description": "Updated default role key after adding roles."
},
"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