get_tool_position
Retrieves the current nozzle or tool-head XYZ coordinates to verify homing, support calibration, and 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.
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": "get_tool_position"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||