Ports Search Field
ports_search_fieldSearch LibreNMS ports by a specific field such as ifAlias, ifDescr, or ifName to find matching interfaces.
Instructions
Search ports in LibreNMS by specific field.
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": {
"field": "<field>",
"search": "<search>"
},
"name": "ports_search_field"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| field | Yes | Field to search: ifAlias, ifDescr, ifName, ifType, etc. | |
| limit | No | Maximum number of results to return | |
| offset | No | Number of results to skip (offset) for pagination | |
| search | Yes | Search term. "0" is not supported: LibreNMS treats it as empty. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||