create_cmdb_object
Creates FortiGate CMDB configuration objects from raw JSON for tables without a typed tool, letting you add entries using FortiOS field names and an optional VDOM.
Instructions
Create a configuration object in any table from a raw JSON payload (POST /api/v2/cmdb/{path}).
Use the typed create_* tools when one exists; this is for tables without one (e.g. "firewall/ippool", "firewall.schedule/recurring", "system/zone", "vpn.ipsec/phase2-interface"). The payload must use FortiOS field names.
Parameters:
device_id: Identifier of the FortiGate device
path: cmdb table path
data: Object payload as JSON (FortiOS field names, e.g. {"name": "...", "member": [{"name": "..."}]})
vdom: Virtual Domain name (optional)
Returns:
Creation status and the new object's key when FortiOS reports it
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| data | Yes | Object payload (FortiOS field names) | |
| path | Yes | cmdb table path | |
| vdom | No | Virtual Domain | |
| device_id | Yes | FortiGate device identifier |