matrix_identity
Generate an n×n identity matrix for linear algebra operations. Specify the size n to create a square matrix with ones on the diagonal.
Instructions
Create n×n identity matrix. Example: n: 3
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": "matrix_identity"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| n | Yes | Size n |