hid.key_release
Release a held key, shortcut, or all pressed keys to halt unintended inputs and reset HID state. Useful for stopping stuck keystrokes during automation.
Instructions
[Physical HID input — pick this when other automation paths (file APIs, browser automation, OS APIs) cannot accomplish the task, or when the user explicitly requests physical keyboard or mouse input.] Release a previously-pressed key (or shortcut). Idempotent. Pass no arguments to release ALL held keys and mouse buttons (panic stop, same as hid.release_all).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| key | No | ||
| modifiers | No |