service_call
Perform GET or POST requests to any FortiOS Service API endpoint by specifying the service path, method, optional body, and VDOM.
Instructions
Call any FortiOS Service API endpoint.
Covers all GET/POST on /api/v2/service/{service_path}.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| service_path | Yes | Service API path. Examples: 'system/psirt-vulnerabilities', 'security-rating/report', 'sniffer/list', 'sniffer/start' | |
| method | No | HTTP method: GET or POST. | GET |
| body | No | Optional JSON body for POST requests. | |
| 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 | |||