Matrix Calculator
calculator_matrixGeneral matrix operations: add, subtract, multiply, transpose, determinant, inverse, rank, eigenvalues, eigenvectors.
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": "calculator_matrix"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| matrix_a | Yes | Primary matrix (2D list). | |
| matrix_b | No | Second matrix when needed. | |
| operation | Yes | add|subtract|multiply|transpose|determinant|inverse|rank|eigenvalues|eigenvectors |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes | ||
| operation | Yes |