np_zeros
Create an array of zeros with a specified shape and optional data type.
Instructions
Create an array of zeros.
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": {
"shape": "<shape>"
},
"name": "np_zeros"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| shape | Yes | An integer for 1D shape, or a list of integers for multi-dimensional. | |
| dtype | No | The data type of the array (default: "float64"). | float64 |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |