analyze_gcode_metadata
Extract structured metadata including print time, filament usage, cost, and layer information from G-code files for analysis and planning.
Instructions
Parse metadata (estimated time, filament usage, cost, layers) from a G-code file and return structured JSON.
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": "analyze_gcode_metadata"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| file | Yes | G-code filename (in work directory). |