get_required_roles_for_scenario
Identifies required Ansible roles for a specific cyber range scenario deployment to prepare for installation.
Instructions
Get the list of required Ansible roles for a specific scenario.
Use this MCP tool to check which roles are needed before deploying a scenario.
Then use ensure_scenario_roles() to automatically install missing roles.
Args: scenario_key: Scenario identifier (e.g., "redteam-lab-intermediate") siem_type: SIEM type if scenario uses SIEM (wazuh, splunk, elastic, security-onion, none)
Returns: Dictionary with required roles and their installation status
Example: # Check required roles for a scenario result = await get_required_roles_for_scenario( scenario_key="redteam-lab-intermediate", siem_type="none" )
# Then ensure all roles are installed
await ensure_scenario_roles(
scenario_key="redteam-lab-intermediate",
siem_type="none",
auto_install=True
)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": {
"scenario_key": "<scenario_key>"
},
"name": "get_required_roles_for_scenario"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| scenario_key | Yes | ||
| siem_type | No | wazuh |