read_nc_file
Read a posted NC program or text output to verify G-code. Specify an absolute path plus optional start line and line limit to inspect specific portions of .nc, .tap, .cnc, or .eia files.
Instructions
Read (part of) a posted NC program or other text output to verify it.
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": {
"path": "<path>"
},
"name": "read_nc_file"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | Absolute path of a posted NC file (.nc, .tap, .cnc, .eia, .mpf, ...) | |
| max_lines | No | ||
| start_line | No |