cmdb_update
Replace a FortiOS CMDB configuration object by sending a PUT request to the specified resource path, providing full object data in JSON.
Instructions
Update/replace a CMDB configuration object (PUT).
Covers any PUT on /api/v2/cmdb/{resource_path}/{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>",
"data": "<data>"
},
"name": "cmdb_update"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| resource_path | Yes | Full CMDB path including the key. Example: 'firewall/policy/1', 'system/interface/port1' | |
| data | Yes | JSON string with properties to update (full object replacement via PUT). Must include all required fields for the object. | |
| 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 | |||