elenchus_set_dynamic_roles
Configures a session with dynamically generated verifier and critic roles, finalizing the role setup for autonomous use in adversarial code verification.
Instructions
Set dynamically generated roles for a session. Call this after completing all 3 steps of elenchus_generate_roles. The roles will be used automatically by getRolePrompt when sessionId is provided.
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": {
"sessionId": "<sessionId>",
"domainResult": "<domainResult>",
"verifierRole": "<verifierRole>",
"criticRole": "<criticRole>"
},
"name": "elenchus_set_dynamic_roles"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| sessionId | Yes | Session ID | |
| domainResult | Yes | JSON string of domain detection result | |
| verifierRole | Yes | JSON string of generated verifier role | |
| criticRole | Yes | JSON string of generated critic role |