get_tool_position
Retrieve the current XY(Z) coordinates of the tool head. Use to verify homing, perform calibration, or plan manual moves.
Instructions
Get the current nozzle / tool-head XYZ position (Moonraker and Serial).
Returns a dict with at least ``x``, ``y``, ``z`` coordinates in mm
relative to the printer's home position. Some printers also report
``e`` (extruder position).
Use this for:
- Verifying the printer has been homed (coordinates are valid only
after homing)
- Calibration sequences that need to know the current position
- Move planning when issuing manual jog commands
Not all adapters support this — returns an error if position data is
not available.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||