Click in the slicer window
slicer_clickClick buttons by text or coordinate, or press a key, in the Anycubic Slicer Next window; returns a fresh screenshot and text after each action.
Instructions
Click a button by its text (or at a point, or press one key) in the Anycubic Slicer Next window, then return a fresh screenshot and text of it.
Take slicer_screenshot first. Clicks only land inside the slicer's window, only when it's the frontmost window, and never in its title bar. Buttons that start, send, pause, stop, delete or discard something are refused unless confirm=True, which needs the user's explicit yes to that click. macOS only; needs Accessibility permission for the app running this server, which is the user's decision.
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": "slicer_click"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| x | No | Or: X in pixels of the latest slicer_screenshot image. | |
| y | No | Or: Y in pixels of the latest slicer_screenshot image. | |
| key | No | Instead of clicking, press one key: return, escape, tab, space or delete. | |
| text | No | Click the button or label with this text, e.g. 'Preview' or 'Cancel'. Preferred over x/y. | |
| double | No | Double-click instead of a single click. | |
| confirm | No | Needed to click a button that prints, sends, pauses, stops, deletes or discards (e.g. 'Start Print', 'End', 'No' in a save dialog). Set True only after the user said yes to that exact click in this conversation. | |
| occurrence | No | Which match to click when the text appears more than once, 1 = first in reading order. |