matrix_operations
Compute matrix operations like multiplication, inverse, determinant, transpose, and eigenvalues from JSON array inputs.
Instructions
Perform matrix operations like multiply, inverse, determinant, transpose, eigenvalues. Matrices should be in array format like [[1,2],[3,4]].
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": {
"operation": "<operation>",
"matrix_a": "<matrix_a>"
},
"name": "matrix_operations"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| matrix_a | Yes | First matrix in JSON array format (e.g., '[[1,2],[3,4]]') | |
| matrix_b | No | Second matrix (for operations that require two matrices) | |
| operation | Yes | Matrix operation to perform |