assign_vap_to_wtp_profile
Adds a VAP (SSID) to selected radios in a FortiAP profile and switches those radios to manual VAP mode so the SSID is broadcast.
Instructions
Add a VAP (SSID) to a FortiAP profile's radios so it gets broadcast.
Reads the profile, appends the VAP to each selected radio's manual VAP list, and switches that radio's vap-all mode to "manual" (the mode that honors an explicit list). VAPs already present are left in place.
Args: device: Managed device name profile: FortiAP (WTP) profile name vap: VAP object name to broadcast radios: Radios to add the SSID to, from 1-3 (default [1, 2]) vdom: VDOM the profile lives in (default "root")
Returns: Update result listing the radios changed
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>",
"profile": "<profile>",
"vap": "<vap>"
},
"name": "assign_vap_to_wtp_profile"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| vap | Yes | ||
| vdom | No | root | |
| device | Yes | ||
| radios | No | ||
| profile | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||