Click with the mouse
nvda_mouse_clickClick at screen, window, or control coordinates when keys cannot reach an element, then report what NVDA announced and what sits under the pointer.
Instructions
Click with the mouse, then report what NVDA said and what is under the mouse.
For what the keyboard cannot reach, such as buttons drawn on a canvas that NVDA reads as one "pane" (audio plugins, games, some installers). Prefer keys and nvda_activate_object when they work: they are what the user can repeat. Find where to click with nvda_recognize_text (screen positions of text) or nvda_capture_control (a picture whose pixels count from the control's top left, after its padding). Like key presses, it needs the user's permission, and the user hears every step.
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": "nvda_mouse_click"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| x | No | Pixels from the left: of the control or window, or of the screen when neither is given. | |
| y | No | Pixels from the top: of the control or window, or of the screen when neither is given. | |
| id | No | A control from nvda_find_objects. Without x and y, its middle; with them, a point counted from its top left corner, such as a knob in a plugin's canvas. | |
| button | No | The mouse button. | left |
| double | No | Double-click instead of a single click. | |
| record | No | Also record what this action changed: how the accessibility tree around it changed (controls added, removed, renamed or moved, values and states) and the events NVDA handled. NVDA is silent for up to a few seconds while the tree is read. For something the user does, use nvda_trace_events with tree. | |
| window | No | Instead of id, a window handle from nvda_list_windows; x and y count from its top left. | |
| settle_ms | No | Stop listening once NVDA has been quiet this long. | |
| timeout_ms | No | Stop listening, or waiting for until_speech, after this long in total. | |
| until_speech | No | Keep listening until NVDA says something containing this text (ignoring case), such as 'sent' or a dialog title, instead of stopping at the first pause. The result says whether it was heard. | |
| record_within | No | Record only inside this control, an id from nvda_find_objects, such as a chat's message list. Implies record. By default the web document or window around the action is recorded. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |