Duplicate role
duplicate_roleCopy a role, its description and its criteria into a new role with its own empty screening. Candidates, notes and comments are not copied, and the source role is unchanged. The copy is active even when the source is closed, and is named " (copy)" unless name is given (up to 200 characters). Retrying the same request returns the copy it already made. Requires OAuth or a scoped token and a workspace role that can edit.
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": "duplicate_role"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | No | ||
| roleId | Yes | ||
| workspaceId | Yes | The workspace id returned by list_workspaces. Use 'personal' for the personal workspace. |