actpkg.dev
Components

library/random

v0.2.4 Signed

Random number, string, and UUID generation

by @library updated 2026-06-13 236 KB 0

Install

$ act pull actpkg.dev/library/random

Capabilities

Fully sandboxed

This component requests no filesystem, network, or socket access.

Risk Low Medium High

Tools · 3

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

  • uuid

    Generate a UUID (v4 random or v7 time-ordered)

    ParameterTypeDescription
    versioninteger | nullUUID version: 4 (random, default) or 7 (time-ordered)

    Returns content.

  • random_string

    Generate a cryptographically random string

    ParameterTypeDescription
    length*integerLength of the string
    charsetstring | nullCharacter set: 'alphanumeric' (default), 'hex', 'alpha', 'digits', 'ascii'

    Returns content.

  • random_number

    Generate a cryptographically random integer in a range

    ParameterTypeDescription
    maxinteger | nullMaximum value (inclusive, default 100)
    mininteger | nullMinimum value (inclusive, default 0)

    Returns content.

Readme

No README provided.