flash_info
Parse an existing .gcode file to report printer model, print time, layers, filament usage, temperatures, and file size so you can verify settings before printing.
Instructions
Parse an existing .gcode and report: printer model, estimated time, layers, filament used (mm / cm3 / g), support/brim material, infill, nozzle/bed temps, vase mode, file size.
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": "<file>"
},
"name": "flash_info"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| file | Yes | Path to a .gcode file, relative to the current directory. |