fortigate_api
Call any FortiOS REST endpoint directly when no dedicated tool covers it. Use /api/v2/ paths for configuration or live state, with read-only guardrails enforced.
Instructions
Call any FortiOS REST endpoint directly. path must start with /api/v2/ (cmdb/... for configuration, monitor/... for live state). FORTIGATE_READ_ONLY still applies. Prefer the dedicated tools when one exists.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| body | No | JSON body for POST/PUT | |
| path | Yes | e.g. /api/v2/cmdb/system/global or /api/v2/monitor/system/ha-peer | |
| vdom | No | VDOM (default: FORTIGATE_VDOM, usually root) | |
| method | Yes | GET, POST, PUT or DELETE | |
| params | No | Query parameters |