set_speed_profile
Set print speed by preset or as a percentage of sliced speed, capping speed-ups to the nozzle's melt limit so prints stay reliable.
Instructions
Set the print speed: a preset by name, or a percentage of the sliced speed.
One door for both ways a printer takes a speed. Give exactly one of:
Args:
profile: A preset — ``"silent"`` (50%), ``"standard"`` (100%),
``"sport"`` (124%) or ``"ludicrous"`` (166%). Bambu Lab
printers only; sport and ludicrous raise the nozzle
temperature to keep up with the flow.
percent: The speed as a percentage of the speed the file was
sliced at — the feedrate override every FDM firmware has (100
is the sliced speed; 10 to 300 is accepted). A Bambu takes
only its four presets, so the nearest one is set and the
answer says which (``preset``, ``percent_actual``).
printer_name: Which printer. Omit for the default printer.
past_the_melt_limit: ``True`` sets the asked speed even past what
the nozzle can melt, for this request only. Pass it only when
the person has read the warning a capped answer gave and still
wants the faster speed.
A speed-up is held to what the running print's file lets the nozzle
melt: above that it is lowered (never below the sliced speed) and the
answer says so, with the numbers, what going faster does, and how to
go past it, in ``message`` and ``speed_floor``. With
``past_the_melt_limit`` the asked speed is set and the answer says it
was set past the limit at the person's choice.
When that cannot be checked (Kiln did not send the file, or the
printer's melt limit is unknown) the speed is set as asked and the
answer says it was not checked. A slow-down is never changed. Which
speeds suit THIS printer is decided by Kiln's served
``set_speed_percent`` and ``set_speed_schedule``, which hand the
checked value here. Use ``printer_status()`` to see the current speed
profile in ``printer.speed_profile``.
Branch on ``outcome`` — one field, three values, the same shape
``start_print`` uses for ``print_start``:
- ``"confirmed"``: the printer, in a report AFTER the command, shows the
effect. For a Bambu, the reported speed level moved.
- ``"accepted"``: the command was sent and not refused, and the printer
has not shown the effect yet. Normal on a quiet printer. Read
``printer_status()`` before building on it.
- ``"failed"``: the printer's interface refused the command.
``accepted`` (the boolean) keeps its old meaning: sent, not refused. It
is never proof the printer acted. ``success`` is ``False`` only for
``"failed"``.
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": "set_speed_profile"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| percent | No | The speed as a percentage of the speed the file was sliced at — the feedrate override every FDM firmware has (100 is the sliced speed; 10 to 300 is accepted). A Bambu takes only its four presets, so the nearest one is set and the answer says which (``preset``, ``percent_actual``). | |
| profile | No | A preset — ``"silent"`` (50%), ``"standard"`` (100%), ``"sport"`` (124%) or ``"ludicrous"`` (166%). Bambu Lab printers only; sport and ludicrous raise the nozzle temperature to keep up with the flow. | |
| printer_name | No | Which printer. Omit for the default printer. | |
| past_the_melt_limit | No | ``True`` sets the asked speed even past what the nozzle can melt, for this request only. Pass it only when the person has read the warning a capped answer gave and still wants the faster speed. Default: false. |