cmdb_list
List all objects of any FortiOS CMDB resource type by providing the resource path. Supports filters, pagination, and field selection.
Instructions
List all objects of a CMDB resource type.
Covers any GET on /api/v2/cmdb/{resource_path}. Returns the full FortiOS JSON response including results array and metadata.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| resource_path | Yes | CMDB resource path without leading slash. Examples: 'firewall/policy', 'system/interface', 'vpn.ipsec/phase1-interface', 'router/static', 'user/local' | |
| filters | No | Optional FortiOS filter string. Syntax: 'field==value' or 'field=@substring'. Multiple filters separated by '&'. Example: 'status==enable&action==accept' | |
| start | No | Pagination offset (0-based). | |
| count | No | Maximum number of results to return. | |
| format_fields | No | Comma-separated list of fields to return. Reduces response size. | |
| 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 | |||