get_device_wtp
Retrieves one managed FortiAP by serial number (wtp-id) from a specified FortiManager device and VDOM, returning its stored object or a not-found error.
Instructions
Get one managed FortiAP by wtp-id (serial number).
Args: device: Managed device name wtp_id: FortiAP serial number (the wtp-id / table mkey) vdom: VDOM the AP is registered in (default "root")
Returns: dict with device, vdom and the stored wtp object (credential fields stripped -- see _WTP_SECRET_FIELDS), or a not_found error if it does not exist
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>",
"wtp_id": "<wtp_id>"
},
"name": "get_device_wtp"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| vdom | No | root | |
| device | Yes | ||
| wtp_id | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||