get_config
Read FortiGate configuration from any FortiOS endpoint: full settings objects, table entries, or one entry by mkey, with password and key fields masked as ''.
Instructions
Read any configuration endpoint: a whole settings object, every entry of a table, or one entry by mkey. Password and key fields are shown as '', never their values.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| mkey | No | Entry key for a table endpoint (optional) | |
| vdom | No | VDOM (default: FORTIGATE_VDOM, usually root) | |
| filter | No | FortiOS filter expression, e.g. name=@k3s (contains) or action==accept | |
| format | No | Only return these fields, '|'-separated, e.g. policyid|name|action | |
| endpoint | Yes | e.g. system/global, router/static, user/local |