gcode_translate
Translate G-code into plain English with line-by-line explanations. Accepts file path or raw code, showing each command's meaning and current machine state.
Instructions
Translate G-code to plain English, line by line. Accepts either a file path or raw G-code string. Shows each command, its meaning, and the current machine state context.
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": {
"file_path_or_code": "<file_path_or_code>"
},
"name": "gcode_translate"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| file_path_or_code | Yes | ||
| max_lines | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |