# ⌨API(G-code)

- [Introduction](https://manual.rotrics.com/gcode/api-and-sdk.md)
- [Marlin Original Commands](https://manual.rotrics.com/gcode/marlin-original-commands.md)
- [\[Marlin\] G000-G001 - Linear Move](https://manual.rotrics.com/gcode/marlin-original-commands/untitled.md)
- [\[Marlin\] G002-G003 -  Arc or Circle Move](https://manual.rotrics.com/gcode/marlin-original-commands/marlin-g002-g003-arc-or-circle-move.md)
- [\[Marlin\] G004 - Dwell](https://manual.rotrics.com/gcode/marlin-original-commands/marlin-g004-dwell.md)
- [\[Marlin\] G020 - Inch Units](https://manual.rotrics.com/gcode/marlin-original-commands/marlin-g020-inch-units.md)
- [\[Marlin\] G021 - Millimeter Units](https://manual.rotrics.com/gcode/marlin-original-commands/marlin-g021-millimeter-units.md)
- [\[Marlin\] G028 - Home and StallGuard](https://manual.rotrics.com/gcode/marlin-original-commands/marlin-g028-home-and-stallguard.md)
- [\[Marlin\] G029 - Bed Leveling Manual](https://manual.rotrics.com/gcode/marlin-original-commands/marlin-g029-bed-leveling.md)
- [\[Marlin\] G090 - Absolute Positioning](https://manual.rotrics.com/gcode/marlin-original-commands/marlin-g090-absolute-positioning.md)
- [\[Marlin\] G091- Relative Positioning](https://manual.rotrics.com/gcode/marlin-original-commands/marlin-g091-relative-positioning.md)
- [\[Marlin\] G092 - Set Position](https://manual.rotrics.com/gcode/marlin-original-commands/marlin-g092-set-position.md)
- [\[Marlin\] M003 - Laser On](https://manual.rotrics.com/gcode/marlin-original-commands/marlin-m003-laser-on.md)
- [\[Marlin\] M005 - Laser Off](https://manual.rotrics.com/gcode/marlin-original-commands/marlin-m005-laser-off.md)
- [\[Marlin\] M082 - E Absolute](https://manual.rotrics.com/gcode/marlin-original-commands/marlin-m082-e-absolute.md)
- [\[Marlin\] M083 - E Relative](https://manual.rotrics.com/gcode/marlin-original-commands/marlin-m083-e-relative.md)
- [\[Marlin\] M092 - Set Axis Steps-per-unit](https://manual.rotrics.com/gcode/marlin-original-commands/marlin-m092-set-axis-steps-per-unit.md)
- [\[Marlin\] M104 - Set Hotend Temperature](https://manual.rotrics.com/gcode/marlin-original-commands/marlin-m104-set-hotend-temperature.md)
- [\[Marlin\] M105 - Report Temperatures](https://manual.rotrics.com/gcode/marlin-original-commands/marlin-m105-report-temperatures.md)
- [\[Marlin\] M106 - Set Fan Speed](https://manual.rotrics.com/gcode/marlin-original-commands/marlin-m106-set-fan-speed.md)
- [\[Marlin\] M107 - Fan Off](https://manual.rotrics.com/gcode/marlin-original-commands/marlin-m107-fan-off.md)
- [\[Marlin\] M108 - Break and Continue](https://manual.rotrics.com/gcode/marlin-original-commands/marlin-m108-break-and-continue.md)
- [\[Marlin\] M109 - Wait for Hotend Temperature](https://manual.rotrics.com/gcode/marlin-original-commands/marlin-m109-wait-for-hotend-temperature.md)
- [\[Marlin\] M114 - Get Current Position](https://manual.rotrics.com/gcode/marlin-original-commands/marlin-m114-get-current-position.md)
- [\[Marlin\] M200 - Set Filament Diameter](https://manual.rotrics.com/gcode/marlin-original-commands/marlin-m200-set-filament-diameter.md)
- [\[Marlin\] M201 - Set Print Max Acceleration](https://manual.rotrics.com/gcode/marlin-original-commands/marlin-m201-set-print-max-acceleration.md)
- [\[Marlin\] M203 - Set Max Feedrate](https://manual.rotrics.com/gcode/marlin-original-commands/marlin-m203-set-max-feedrate.md)
- [\[Marlin\] M204 - Set Starting Acceleration](https://manual.rotrics.com/gcode/marlin-original-commands/marlin-m204-set-starting-acceleration.md)
- [\[Marlin\] M205 - Set Advanced Settings](https://manual.rotrics.com/gcode/marlin-original-commands/marlin-m205-set-advanced-settings.md)
- [\[Marlin\] M400 - Finish Moves](https://manual.rotrics.com/gcode/marlin-original-commands/marlin-m400-finish-moves.md)
- [\[Marlin\] M410 - Quickstop](https://manual.rotrics.com/gcode/marlin-original-commands/marlin-m410-quickstop.md)
- [\[Marlin\] M420 - Bed Leveling State](https://manual.rotrics.com/gcode/marlin-original-commands/marlin-m420-bed-leveling-state-manual.md)
- [\[Marlin\] M500 - Save Settings](https://manual.rotrics.com/gcode/marlin-original-commands/marlin-m500-save-settings.md)
- [\[Marlin\] M501 - Restore Settings](https://manual.rotrics.com/gcode/marlin-original-commands/marlin-m501-restore-settings.md)
- [\[Marlin\] M502 - Factory Reset](https://manual.rotrics.com/gcode/marlin-original-commands/marlin-m502-factory-reset.md)
- [\[Marlin\] M503 - Report Settings](https://manual.rotrics.com/gcode/marlin-original-commands/marlin-m503-report-settings.md)
- [\[Marlin\] M504 - Validate EEPROM contents](https://manual.rotrics.com/gcode/marlin-original-commands/marlin-m504-validate-eeprom-contents.md)
- [\[Marlin\] M906 - TMC Motor Current](https://manual.rotrics.com/gcode/marlin-original-commands/marlin-m906-dwell.md)


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://manual.rotrics.com/gcode.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
