get_webcam_snapshot
Capture a still image from the printer camera to check first-layer adhesion, spaghetti, or loose parts; if dark, turn on the case light before retrying.
Instructions
Grab a still image from the printer's camera and return it for inspection. Use this to check on a print: whether the first layer stuck, whether there is spaghetti, whether the part came loose. This printer switches its case light off when the touchscreen sleeps, so an idle machine usually returns a black frame: rather than hand you an image with nothing in it, the tool refuses with error 'frame_too_dark' and tells you to call set_case_light first. Pass allow_dark=true only if you want the raw bytes regardless — never describe the contents of a frame returned that way.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "get_webcam_snapshot"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| allow_dark | No | ||
| camera_url | No |