generate_random_port
Generate random port numbers within a specified range, with control over count and excluded ports.
Instructions
Generate random port numbers
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "generate_random_port"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| count | No | Number of ports to generate | |
| min | No | Minimum port number | |
| max | No | Maximum port number | |
| exclude | No | Ports to exclude |