library/vnc-desktop
v0.1.3 SignedSandboxed desktop control over the VNC/RFB protocol
Install
act pull actpkg.dev/library/vnc-desktop Capabilities
Moderate host access
Requests: Raw sockets (scoped).
- wasi:sockets Raw sockets (scoped)
*:5900,5901,5902,5903,5904,5905,5906,5907,5908,5909
Tools · 12
act:tools interface — expand a tool for its input schema.
move_pointer Move the pointer to (x, y) — absolute pixel coordinates.
Move the pointer to (x, y) — absolute pixel coordinates.
Parameter Type Description x* integer X coordinate in pixels. y* integer Y coordinate in pixels. Returns content.
click Click a mouse button at (x, y). `button` is left|middle|right. `count` repeats the click (default 1, e.g. 2 for double-click).
Click a mouse button at (x, y). `button` is left|middle|right. `count` repeats the click (default 1, e.g. 2 for double-click).
Parameter Type Description x* integer X coordinate in pixels. y* integer Y coordinate in pixels. count integer | null Number of clicks (default 1). button variant Mouse button: left (default), middle, or right. Returns content.
drag Press the mouse button at (x1,y1) and release at (x2,y2).
Press the mouse button at (x1,y1) and release at (x2,y2).
Parameter Type Description x1* integer Start X. x2* integer End X. y1* integer Start Y. y2* integer End Y. button variant Mouse button (default left). Returns content.
scroll Scroll at (x, y). `direction` is up|down|left|right. `amount` is the number of scroll clicks (default 3).
Scroll at (x, y). `direction` is up|down|left|right. `amount` is the number of scroll clicks (default 3).
Parameter Type Description x* integer X coordinate. y* integer Y coordinate. amount integer | null Number of scroll clicks (default 3). direction* ScrollDirection Scroll direction. Returns content.
type_text Type a literal string. Modifier keys are not interpreted.
Type a literal string. Modifier keys are not interpreted.
Parameter Type Description text* string Text to type. Returns content.
key Press a key combination like `ctrl+shift+a` or `enter`. Modifiers: ctrl, alt, shift, meta/super. Special keys: enter, tab, escape, backspace, delete, up/down/left/right, home/end/pageup/pagedown, f1..f12.
Press a key combination like `ctrl+shift+a` or `enter`. Modifiers: ctrl, alt, shift, meta/super. Special keys: enter, tab, escape, backspace, delete, up/down/left/right, home/end/pageup/pagedown, f1..f12.
Parameter Type Description combo* string Key or key combo. Returns content.
key_down Press (and hold) a single key. Pair with `key_up` to release.
Press (and hold) a single key. Pair with `key_up` to release.
Parameter Type Description key* string Key name (see `key` for the vocabulary). Returns content.
key_up Release a single key previously pressed with `key_down`.
Release a single key previously pressed with `key_down`.
Parameter Type Description key* string — Returns content.
screenshot Capture the current framebuffer as a PNG. Returns an `image/png` content-part.
Capture the current framebuffer as a PNG. Returns an `image/png` content-part.
No input parameters.
Returns content.
display_info Return the remote desktop's resolution and pixel format.
Return the remote desktop's resolution and pixel format.
No input parameters.
Returns content.
paste Send the text to the remote clipboard via VNC ClientCutText. Optionally simulate Ctrl+V to paste it at the cursor.
Send the text to the remote clipboard via VNC ClientCutText. Optionally simulate Ctrl+V to paste it at the cursor.
Parameter Type Description text* string Text to set as the remote clipboard contents. send_ctrl_v boolean | null If true (default), also press Ctrl+V after setting the clipboard. Returns content.
copy Read the most recent remote-clipboard text received from the server. Returns the last `ServerCutText` payload, or an empty string if none has been seen since the session opened.
Read the most recent remote-clipboard text received from the server. Returns the last `ServerCutText` payload, or an empty string if none has been seen since the session opened.
No input parameters.
Returns content.
Readme
No README provided.