assign_jobs
Determine which 3D printing jobs each printer's loaded material can take, or assign a printer to every job by material, grams, and color.
Instructions
Say which jobs a printer's loaded material can take, or which printer takes each job.
Each job dict should contain ``file_name``, ``material_type``,
``required_grams``, and optionally ``color``. With one printer
set up, or with ``printer_name``, it says which jobs that
printer's loaded spool can take, in order, on every plan. With
several printers and none named, picking a printer for each job
is Kiln Business; a plan without
it gets the printers set up here and the question of which
one, never a refusal.
Args:
jobs: List of job dicts, each with ``file_name``,
``material_type``, ``required_grams`` and optionally
``color``.
printer_name: The printer to answer for. Omit for the only
printer, or to assign across every printer.
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": {
"jobs": "<jobs>"
},
"name": "assign_jobs"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| jobs | Yes | List of job dicts, each with ``file_name``, ``material_type``, ``required_grams`` and optionally ``color``. | |
| printer_name | No | The printer to answer for. Omit for the only printer, or to assign across every printer. |