cmdb_get
Retrieve a single CMDB configuration object from FortiOS by specifying the resource path and optional VDOM. Use for reading specific firewall policies, interfaces, VPN tunnels, or other objects.
Instructions
Get a single CMDB configuration object by its primary key.
Covers any GET on /api/v2/cmdb/{resource}/{key}.
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": {
"resource_path": "<resource_path>"
},
"name": "cmdb_get"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| resource_path | Yes | Full CMDB path including the key. Examples: 'firewall/policy/1', 'system/interface/port1', 'vpn.ipsec/phase1-interface/my-tunnel' | |
| vdom | No | Target VDOM name. Defaults to the server default VDOM. Use '*' for all VDOMs (super-admin required). |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||