explain_code
Explains what code does, detailing control/data flow and non-obvious behavior. Provide code or file path.
Instructions
Explain what code does, including control/data flow and non-obvious behavior.
Provide exactly one of code or file_path. Explanations are usually
fast enough that think=False (the default) is sufficient.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "explain_code"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| code | No | ||
| think | No | ||
| file_path | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |