explainThisCode
Understand any code snippet with detailed, line-by-line explanations. Choose the depth you need—from overview to line-by-line—to learn how the code works and why.
Instructions
Provides a detailed line-by-line or block-by-block explanation of what code does
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": {
"code": "<code>",
"language": "<language>"
},
"name": "explainThisCode"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| code | Yes | The code to explain | |
| language | Yes | The programming language | |
| detailLevel | No | How detailed the explanation should be |