get_agent_ports
List open network ports on a Wazuh agent to identify active services and potential security exposures.
Instructions
List open network ports on a Wazuh agent
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": {
"agent_id": "<agent_id>"
},
"name": "get_agent_ports"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | Maximum number of items to return (1-500) | |
| offset | No | Pagination offset | |
| agent_id | Yes | Agent identifier (e.g., '001') |