hosts_add
Add IP-to-hostname mappings to /etc/hosts. Provide an IP address and hostnames to enable custom domain resolution.
Instructions
Add entries to /etc/hosts.
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": {
"ip": "<ip>",
"hostnames": "<hostnames>"
},
"name": "hosts_add"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ip | Yes | ||
| hostnames | Yes |