Get filament slot mapping
get_filament_slot_mappingShows which CANVAS tray each plate filament will print from on the next Send for Elegoo Centauri Carbon 2, flagging unmapped filaments or unready trays.
Instructions
Show which CANVAS tray each filament would print from on the next Send (Elegoo Centauri Carbon 2 only); read-only.
The filaments listed are the ones on the plate the next Send would use. Needs fork v2.4.2-mcp.14 or later. It reads the printer when no slot list is cached, so it can take up to about 18 seconds, and OrcaSlicer's API serves one request at a time meanwhile, so other tools wait.
The reply names the plate (0-based, the current plate) and supported (true, or false with a reason). Each filament has its 0-based index, type, name, colour, the tray it maps to (or null), the source of that choice (saved, matched, user, api or none) and any warnings. valid is true when that Send would go through; if not, problems says why (an unmapped filament, a tray that is not ready). Call it after slicing or changing filaments, before telling the user the plate is ready to send. Nothing is sent to the printer. A supported false reply carries a reason to relay, as get_printer_slots does.
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_filament_slot_mapping"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||