host_configure
host_configureConfigures DHCP or static IPv4 addressing, subnet mask, gateway, and DNS on a host in Cisco Packet Tracer, with optional dry-run validation before applying changes.
Instructions
Configure DHCP or static IPv4/mask/gateway/DNS on a host in PT and topology.
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": {
"device_name": "<device_name>"
},
"name": "host_configure"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| dhcp | No | ||
| port | No | FastEthernet0 | |
| dry_run | No | ||
| dns_server | No | ||
| ip_address | No | ||
| device_name | Yes | ||
| subnet_mask | No | ||
| default_gateway | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||