transition_role
Switch active workflow execution to a different role by providing the execution ID and target role ID, with optional handoff notes to maintain context during the change.
Instructions
Transition to a different role in workflow execution
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": {
"executionId": "<executionId>",
"toRoleId": "<toRoleId>"
},
"name": "transition_role"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| toRoleId | Yes | ID of the role to transition to | |
| executionId | Yes | ID of the execution | |
| handoffNotes | No | Notes for the role transition (optional) |