revoke_consent_window
Close an open consent window to stop queued 3D-print jobs from starting, or revoke always-allow so the person is asked again before printing.
Instructions
Close a standing consent window now. Prints ask the person again.
The person opened the window — in the approval dialog or at a
terminal — and can close it here, through you, without touching
a terminal: when they say to close it, call this. Closing is
the safe direction, so it needs no confirmation and no window
can refuse it. Jobs queued under the window will not start.
This is also how always allow is turned off: when the person
says "ask me first", call this with the printer's name (or the
id on the print result) and show them the ``note`` as written.
Args:
window_id: The window to close (from ``consent_window_status``
or the ``standing_window`` block on a print result).
printer_name: Close every open window covering this printer.
all_windows: Close every open window.
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": "revoke_consent_window"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| window_id | No | The window to close (from ``consent_window_status`` or the ``standing_window`` block on a print result). | |
| all_windows | No | Close every open window. Default: false. | |
| printer_name | No | Close every open window covering this printer. |