Get CANVAS slots
get_printer_slotsReads the filament trays of an Elegoo Centauri Carbon 2 with a CANVAS unit, reporting the active tray plus each tray’s label, status, material, brand, and colour for slot mapping.
Instructions
Read the filament trays of an Elegoo Centauri Carbon 2 with a CANVAS unit; only for that printer, and slow (up to about 18 s).
It reports which tray is active, and for each tray its label (A1, A2, ...), status, material, brand and colour. Read-only; needs fork v2.4.2-mcp.14 or later. OrcaSlicer's API serves one request at a time while the printer is asked, so other tools wait.
Per tray: status is loaded, preloaded (filament waiting at the feeder, not yet pulled in), disconnected or error. ready is true when the tray can be printed from now. unknown_filament is true when the tray reports no filament type or name. Use canvas_id and tray_id from here in set_filament_slot_mapping.
When the printer is not supported or not reachable the reply is supported false with a reason (not_elegoo_cc2, no_canvas, unreachable, too_many_clients, registration_refused, timeout, printer_error, firmware_too_old) and a message. Relay the message to the user.
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_printer_slots"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||