get_device_sdwan
Retrieves a managed device's local SD-WAN configuration from FortiManager's device database, including members, zones, health-checks, and steering rules, when no wanprof template is assigned.
Instructions
Get a managed device's SD-WAN configuration from FortiManager's device DB.
Unlike get_sdwan_template (which reads wanprof templates in an ADOM),
this reads the SD-WAN config local to the device itself -- members/zones,
health-checks and service (steering) rules -- from the device database
FortiManager keeps in sync with the FortiGate. Use this when a device runs
SD-WAN but has no wanprof template assigned (list_sdwan_templates
returns nothing) yet you still need its members, zones and steering rules.
Args: device: Managed device name (e.g. "branch1") vdom: VDOM name (default: "root")
Returns:
dict with keys:
- device, vdom
- sdwan: raw system/sdwan config object (health-check
password stripped -- see _SDWAN_SECRET_FIELDS)
- summary: condensed members/zones/health-checks/service rules
- error / error_code: on failure
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": {
"device": "<device>"
},
"name": "get_device_sdwan"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| vdom | No | root | |
| device | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||