matrix_subtract
Subtract matrix B from matrix A when both have the same dimensions. Useful for exact matrix subtraction, including negative values and step-by-step entry calculations. Accepts integers, decimals, and fraction strings; returns each exact difference and its calculation.
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": {
"matrixA": "<matrixA>",
"matrixB": "<matrixB>"
},
"name": "matrix_subtract"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| matrixA | Yes | Matrix to subtract from. | |
| matrixB | Yes | Matrix to subtract. |