Multiplicar matrices
matrix-multiplyMultiplica dos matrices (hasta 20×20). Cuándo: un resultado numérico tiene que ser exacto o reproducible y no estimado. No para: transponer una matriz (matrix-transpose). Efectos secundarios: ninguno (solo lectura, sin red, sin estado guardado). Determinista: la misma entrada da la misma salida. Límites: entrada JSON de hasta 64 KB, 1 s por llamada, resultado de hasta 1 MB.
EN: Multiplies two matrices (up to 20×20); columns of A must equal rows of B. When: a numeric result has to be exact or reproducible instead of estimated. Not for: transposing a matrix (matrix-transpose). Side effects: none (read-only, no network access, no stored state). Deterministic: the same input gives the same output. Limits: JSON input up to 64 KB, 1 s per call, result up to 1 MB.
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": {
"a": "<a>",
"b": "<b>"
},
"name": "matrix-multiply"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| a | Yes | Matrix as array of rows (array of array; required; at least 1 items; up to 20 items). | |
| b | Yes | Matrix as array of rows (array of array; required; at least 1 items; up to 20 items). |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | No | any JSON value |