np_randint
Generate random integers between low (inclusive) and high (exclusive), with optional output shape.
Instructions
Return random integers from low (inclusive) to high (exclusive).
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": {
"low": "<low>"
},
"name": "np_randint"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| low | Yes | Lowest integers to be drawn (inclusive). If high is None, this is the upper bound. | |
| high | No | Upper bound (exclusive). If None, low=0 and this becomes high. | |
| size | No | Output shape (int or tuple of ints). |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |