actpkg.dev
Components

library/vnc-desktop

v0.1.3 Signed

Sandboxed desktop control over the VNC/RFB protocol

by @library updated 2026-07-17 507 KB 0

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

Risk Low Medium High

Tools · 12

act:tools interface — expand a tool for its input schema.

  • move_pointer

    Move the pointer to (x, y) — absolute pixel coordinates.

    ParameterTypeDescription
    x*integerX coordinate in pixels.
    y*integerY 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).

    ParameterTypeDescription
    x*integerX coordinate in pixels.
    y*integerY coordinate in pixels.
    countinteger | nullNumber of clicks (default 1).
    buttonvariantMouse button: left (default), middle, or right.

    Returns content.

  • drag

    Press the mouse button at (x1,y1) and release at (x2,y2).

    ParameterTypeDescription
    x1*integerStart X.
    x2*integerEnd X.
    y1*integerStart Y.
    y2*integerEnd Y.
    buttonvariantMouse 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).

    ParameterTypeDescription
    x*integerX coordinate.
    y*integerY coordinate.
    amountinteger | nullNumber of scroll clicks (default 3).
    direction*ScrollDirectionScroll direction.

    Returns content.

  • type_text

    Type a literal string. Modifier keys are not interpreted.

    ParameterTypeDescription
    text*stringText 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.

    ParameterTypeDescription
    combo*stringKey or key combo.

    Returns content.

  • key_down

    Press (and hold) a single key. Pair with `key_up` to release.

    ParameterTypeDescription
    key*stringKey name (see `key` for the vocabulary).

    Returns content.

  • key_up

    Release a single key previously pressed with `key_down`.

    ParameterTypeDescription
    key*string

    Returns content.

  • screenshot

    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.

    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.

    ParameterTypeDescription
    text*stringText to set as the remote clipboard contents.
    send_ctrl_vboolean | nullIf 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.

    No input parameters.

    Returns content.

Readme

No README provided.