np_linspace
Generate evenly spaced numbers over a specified interval. Provide start, stop, and optionally number of samples and data type.
Instructions
Create an array with evenly spaced numbers over a specified interval.
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": {
"start": "<start>",
"stop": "<stop>"
},
"name": "np_linspace"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| start | Yes | Start of interval. | |
| stop | Yes | End of interval. | |
| num | No | Number of samples to generate (default: 50). | |
| dtype | No | The data type of the array (default: "float64"). | float64 |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |