copilot_explain
Explain code functionality using GitHub Copilot to clarify programming logic and purpose for developers.
Instructions
Get detailed explanations of code from GitHub Copilot
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": "copilot_explain"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| code | Yes | Code to explain | |
| language | No | Programming language (auto-detected if not provided) | |
| context | No | Additional context about the code |