Get role
get_roleGet one role by its id, with its defined criteria and its screening. Resolve a role name with the role list tool before calling this tool.
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": {
"workspaceId": "<workspaceId>",
"roleId": "<roleId>"
},
"name": "get_role"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| roleId | Yes | The id of the role, obtained from the role list tool. | |
| workspaceId | Yes | The workspace id returned by list_workspaces. Use 'personal' for the personal workspace. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| code | No | ||
| role | No | ||
| batch | No | ||
| error | No | ||
| workspaceId | No |