set_speed_profile
Sets a 3D printer's print speed using a named preset or a percentage of the sliced speed, returning whether the printer confirmed, accepted, or failed the change.
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.
Nothing here judges whether a speed suits THIS printer or THIS layer:
Kiln's served ``set_speed_percent`` and ``set_speed_schedule`` do that
and 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. |