Pause, resume or stop a print
control_printPause, resume, or stop an active 3D print after previewing the printer state and getting explicit user confirmation; sends the approved command over LAN and waits for the new state.
Instructions
Pause, resume or stop the print running on the printer, after the user confirms.
Call it first without confirm: it checks the printer's state and returns what would happen (or why it can't, e.g. nothing is printing). Tell the user, wait for an explicit yes, then call again with confirm=True. It sends the command over LAN mode and waits up to 20 seconds for the printer to report the new state. Stop can't be undone; never stop or resume a print on your own initiative. Resume after a filament pause only once the user says the filament is fixed.
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": {
"action": "<action>"
},
"name": "control_print"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| host | No | The printer's IP address on your network (shown on the printer under Settings > Network), e.g. '192.168.1.84'. Omit to use the last printer that worked, or ANYCUBIC_PRINTER_HOST. | |
| action | Yes | 'pause', 'resume' or 'stop'. Stop ends the print for good. | |
| confirm | No | False (default) only previews what would happen. Set True only after the user has said yes in this conversation. |