delete_range_by_user
Delete a specific user's cyber range with confirmation to prevent accidental removal. This tool enables targeted deletion by user ID instead of destroying all ranges.
Instructions
Delete a specific user's range (requires confirmation).
This tool allows you to selectively delete a single range by user ID, rather than destroying all ranges. Requires explicit confirmation.
Args: user_id: User ID whose range to delete confirm: Must be set to True to actually delete (safety measure)
Returns: Deletion result with confirmation details
Example: # First, check what you're deleting range_info = await get_range_by_user(user_id="testuser")
# Then confirm deletion
result = await delete_range_by_user(
user_id="testuser",
confirm=True
)Safety: - Requires confirm=True to prevent accidental deletion - Shows range details before deletion - Cannot be undone
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": {
"user_id": "<user_id>"
},
"name": "delete_range_by_user"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| user_id | Yes | ||
| confirm | No |