send_input
Send keyboard or mouse input to control desktop applications, using screenshot coordinates for precise mouse actions.
Instructions
Send keyboard or mouse input via ydotool.
For mouse mode with coordinates from a screenshot, pass the metadata JSON string from the screenshot response as screenshot_meta.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| mode | Yes | ||
| keys | No | ||
| key | No | ||
| action | No | ||
| x | No | ||
| y | No | ||
| button | No | left | |
| window | No | ||
| screenshot_meta | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |