delete_ranges_by_status
Remove cyber range environments based on status to clean up failed deployments or test ranges. Requires confirmation to prevent accidental deletion.
Instructions
Delete all ranges matching a specific status (requires confirmation).
Useful for cleaning up failed deployments or test ranges.
Args: status_filter: Status to filter by (e.g., "ERROR", "FAILED", "DEPLOYING") confirm: Must be set to True to actually delete (safety measure)
Returns: Deletion results for matching ranges
Example: # Delete all ranges with ERROR status result = await delete_ranges_by_status( status_filter="ERROR", confirm=True )
Safety: - Requires confirm=True to prevent accidental deletion - Shows preview of what will be deleted - 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": {
"status_filter": "<status_filter>"
},
"name": "delete_ranges_by_status"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| status_filter | Yes | ||
| confirm | No |