get_range_etchosts
Retrieve /etc/hosts file entries for cyber range environments to configure network hostname resolution during security testing and research scenarios.
Instructions
Get /etc/hosts entries for the range.
Args: user_id: Optional user ID (admin only)
Returns: /etc/hosts content
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "get_range_etchosts"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| user_id | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |