add_dhcp_reservation
Reserve a static IP for a MAC address on a FortiGate DHCP server, even outside the pool.
Instructions
Reserve an IP for a MAC address on a DHCP server (the IP may sit outside the pool).
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": {
"server_id": "<server_id>",
"mac": "<mac>",
"ip": "<ip>"
},
"name": "add_dhcp_reservation"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ip | Yes | IP to reserve | |
| mac | Yes | Client MAC address | |
| vdom | No | VDOM (default: FORTIGATE_VDOM, usually root) | |
| server_id | Yes | DHCP server id | |
| description | No | Description |