Port Group Assign
port_group_assignAssign specific ports to a port group in LibreNMS by providing port IDs and the target group ID.
Instructions
Assign ports to a port group in LibreNMS.
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": {
"port_group_id": "<port_group_id>",
"payload": "<payload>"
},
"name": "port_group_assign"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| payload | Yes | Port IDs to assign. Format: {"port_ids": [1, 2, 3]} | |
| port_group_id | Yes | Port group ID |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||