hid.mouse_button_up
Release a held mouse button (left, right, or middle) on a physical USB HID device. Idempotent: releasing a non-held button does nothing, matching the standard left_mouse_up action.
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 mouse button. Idempotent — releasing a non-held button is a no-op (no error). Matches Anthropic Computer Use's left_mouse_up action.
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": "hid.mouse_button_up"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| button | No | left |