matrix_trace
matrix_traceCalculate the trace of a square matrix by summing its diagonal elements. Use this tool to compute matrix traces for mathematical analysis and linear algebra applications.
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_trace"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| matrix | Yes |