matrix_inverse
Compute the inverse of a square matrix. Returns a clear error for singular or non-square matrices.
Instructions
计算方阵的逆矩阵。
当矩阵奇异或非方阵时抛出清晰的错误。
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": "<matrix>"
},
"name": "matrix_inverse"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| matrix | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |