activate_workflow_for_resource
Activates a workflow for a specified Keycloak resource, such as users or clients, with optional scheduling for the first step. Requires Keycloak 26.5+.
Instructions
Activate workflow for resource. Requires Keycloak 26.5+.
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": {
"realm": "<realm>",
"workflow_id": "<workflow_id>",
"type": "<type>",
"resource_id": "<resource_id>"
},
"name": "activate_workflow_for_resource"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| type | Yes | Resource type the workflow applies to, e.g. USERS or CLIENTS | |
| realm | Yes | Realm name | |
| notBefore | No | Optional value representing the time to schedule the first workflow step. The value is either an integer representing the seconds from now, an integer followed by 'ms' representing milliseconds from now, or an ISO-8601 date string | |
| resource_id | Yes | Resource ID | |
| workflow_id | Yes | Workflow ID |