matrix_operate
Add, multiply, transpose, or calculate the determinant of 2D matrices by selecting an operation and providing the needed matrix inputs.
Instructions
Perform matrix operations: add, multiply, transpose, or determinant.
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": {
"matrix_a": "<matrix_a>"
},
"name": "matrix_operate"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| matrix_a | Yes | First matrix (2D number array). | |
| matrix_b | No | Second matrix (for add/multiply). | |
| operation | No | Operation: add, multiply, transpose, determinant. |