np_eye
Create a 2D identity array with specified number of rows and columns and data type.
Instructions
Return a 2D identity array.
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": {
"n": "<n>"
},
"name": "np_eye"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| n | Yes | ||
| m | No | ||
| dtype | No | The data type of the array (default: "float64"). | float64 |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |