get_node_hosts
Retrieve the /etc/hosts file content for a specified node in Proxmox. This allows inspection of hostname mappings for network troubleshooting.
Instructions
Get the /etc/hosts file content for a node.
Args: node: The node name.
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": {
"node": "<node>"
},
"name": "get_node_hosts"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| node | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |