create_dhcp_custom_option
Create a custom DHCP option on a pfSense interface to define values like TFTP servers or vendor-specific settings for clients.
Instructions
Create a DHCP custom option
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": {
"parent_id": "<parent_id>",
"number": "<number>",
"type": "<type>",
"value": "<value>"
},
"name": "create_dhcp_custom_option"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| type | Yes | Option type (e.g., 'text', 'string', 'boolean', 'unsigned integer 8', 'ip-address') | |
| value | Yes | Option value | |
| number | Yes | DHCP option number (e.g., 66 for TFTP server, 150 for Cisco TFTP) | |
| parent_id | Yes | Parent interface (e.g., 'lan', 'opt1') | |
| apply_immediately | No | Whether to apply changes immediately |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||