Restore role criteria
restore_role_criteriaUndo the most recent update_role_criteria or restore_role_criteria change on a role. Only use this when the user asks to undo. Pass previousCriteria and previousDescription from that result unchanged; never reconstruct them. Eligible existing candidates are brought in line with the restored criteria. 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>",
"previousCriteria": "<previousCriteria>",
"previousDescription": "<previousDescription>"
},
"name": "restore_role_criteria"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| roleId | Yes | The role id from the criteria update result. | |
| workspaceId | Yes | The workspace id returned by list_workspaces. Use 'personal' for the personal workspace. | |
| previousCriteria | Yes | The exact previousCriteria object from the criteria update result. | |
| previousDescription | Yes | The exact previousDescription from the criteria update result. |