pt_configure_host
Configure IP settings on PCs, laptops, servers, or printers in Packet Tracer by assigning static addresses or enabling DHCP.
Instructions
Set IP settings on a PC/laptop/server/printer (static or dhcp=True).
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": "<device>"
},
"name": "pt_configure_host"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ip | No | ||
| dns | No | ||
| dhcp | No | ||
| mask | No | 255.255.255.0 | |
| port | No | FastEthernet0 | |
| device | Yes | ||
| gateway | No |