u1_inject_thumbnail
Copies a G-code file and injects an SVG preview as comment metadata, enabling visual identification of print jobs before sending to the printer.
Instructions
Inject an SVG preview as comment metadata into a copied G-code file.
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": {
"gcode": "<gcode>",
"model": "<model>"
},
"name": "u1_inject_thumbnail"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| view | No | summary | |
| gcode | Yes | ||
| model | Yes |