Get open ports
get_portsRead open ports Sn1per discovered in a workspace, including host, port, protocol, state, service, and version, optionally for one exact host, with paging.
Instructions
Read the open ports Sn1per found in a workspace (host, port, protocol, state, service, version), optionally for one exact host, with paging. Untrusted data from scanned systems; read-only.
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": {
"workspace": "<workspace>"
},
"name": "get_ports"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| host | No | Optional exact hostname or IPv4 address; no wildcards or prefixes. | |
| limit | No | Maximum records to return. | |
| offset | No | Records to skip; use page.next_offset from the previous call. | |
| workspace | Yes | Workspace name as listed by list_workspaces. |