Get node /etc/hosts
proxmox_get_node_hostsRead a node's /etc/hosts file and return its digest so you can pass it to the hosts setter and avoid overwriting concurrent edits.
Instructions
Read a node's /etc/hosts file and its digest (pass the digest to proxmox_set_node_hosts to avoid overwriting concurrent edits).
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": "proxmox_get_node_hosts"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| node | No | Node name. Defaults to PROXMOX_DEFAULT_NODE, or the only node on a single-node install. See proxmox_list_nodes. |