create_a_role
Create a new role within a Vika space to define permissions for its members. Specify the space ID and role payload to add customized access control to that space.
Instructions
Create a role in a space.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"spaceId": "<spaceId>",
"payload": "<payload>"
},
"name": "create_a_role"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| payload | Yes | ||
| spaceId | Yes | Space ID, usually starts with spc. |