explain_code
Explains complex code step by step, breaking down each part to clarify its function and logic.
Instructions
Explain step-by-step how a specific complex piece of code works
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>"
},
"name": "explain_code"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| code | Yes | Code snippet to explain | |
| model | No | Model to use (default: deepseek-chat) | |
| provider | No | AI Provider |