set_z_offset
Adjust the live Z offset in millimeters to fix first-layer squish mid-print, using relative nudges or an absolute value; changes apply immediately but reset on restart.
Instructions
Adjust the live Z offset (baby-stepping), in mm — positive raises the nozzle. Use mode='adjust' to nudge relative to the current offset, or mode='set' for an absolute value. Applies immediately, including mid-print, which is the usual way to fix first-layer squish. Not persistent across restarts.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"offset": "<offset>"
},
"name": "set_z_offset"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| mode | No | adjust | |
| move | No | ||
| offset | Yes | ||
| confirm | No | ||
| confirm_token | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||