Matrix Multiplication
matrix_multiplyMultiply two matrices (A × B).
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>",
"matrix_b": "<matrix_b>"
},
"name": "matrix_multiply"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| matrix_a | Yes | 2D list of numbers representing the first matrix. Each inner list is a row. Example: [[1, 2], [3, 4]] | |
| matrix_b | Yes | 2D list of numbers representing the second matrix. Each inner list is a row. Example: [[5, 6], [7, 8]] |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| topic | Yes | ||
| cols_a | Yes | ||
| cols_b | Yes | ||
| rows_a | Yes | ||
| rows_b | Yes | ||
| difficulty | Yes | ||
| result_matrix | Yes |