Volver al catálogo

Smol Machines

smol_machines

Create and operate isolated Smol Cloud machines, run bounded commands, transfer files, and inspect account and usage information.

Acciones
12
Triggers
0
Autenticación
—
OAuth gestionado
No
Información técnica: el detalle de parámetros, schemas y triggers de esta página está pensado para equipos de integración. Si solo necesitas saber si tu herramienta favorita está disponible, basta con ver la lista de acciones.

Acciones disponibles (12)

Cada acción es una operación que el agente puede ejecutar contra este conector. Haz clic en una acción para ver sus parámetros.

Create MachineSMOL_MACHINES_CREATE_MACHINEAcción

Create one bounded Smol Cloud machine in the stopped state with explicit resources, a finite auto-stop interval and deletion TTL, and an explicit outbound network policy. Published ports remain authenticated by default. The conservative blocked default denies egress and may prevent uncached image pulls; unrestricted networking and unauthenticated public ingress each require explicit opt-in.

Parámetros de entrada

  • envobject

    Environment variables configured inside the guest. At most 64 entries; keys and values are bounded by Composio policy. Do not include secrets unless the workload should be able to read them.

  • cpusinteger

    Requested vCPUs, bounded to 1-8 by Composio policy; the account's effective maximum may be lower.

  • namestring

    Optional display name only; later tools still require the exact returned machine id.

  • portsobject[]

    Guest ports to publish, at most 16. Services must listen on 0.0.0.0. Published ports remain authenticated unless public is explicitly true.

  • labelsobject

    Optional labels used by LIST_MACHINES filters. Keys must match the provider's lowercase label syntax and values are limited to 255 characters.

  • publicboolean

    Whether published ports allow unauthenticated public ingress. Defaults to false; set true only for a service that provides its own authentication.

  • disk_gbinteger

    Requested disk in GiB, bounded to 1-100 by Composio policy; stored disk can continue billing while stopped.

  • workdirstring

    Optional absolute guest working directory used by the machine.

  • ephemeralboolean

    Whether to use the provider's ephemeral-machine behavior in addition to the finite TTL.

  • memory_mbinteger

    Requested memory in MiB, bounded to 512-16384 by Composio policy; the account's effective maximum may be lower.

  • source_typestringenum

    Source kind: a container image reference or a Smol machine reference.

    imagesmolmachine
  • ttl_secondsinteger

    Seconds until provider deletion, bounded to 300-86400 by Composio policy so the resource cannot live indefinitely.

  • architecturestringenum

    Optional requested source architecture; omit to let the provider choose.

    arm64amd64
  • network_modestringenum

    Outbound network policy. The default blocked mode denies all egress and may prevent an uncached image pull; choose allowCidrs with at least one host or CIDR for restricted egress, or open explicitly for unrestricted egress.

    allowCidrsblockedopen
  • network_cidrsstring[]

    IPv4 or IPv6 CIDR allowlist used only with allowCidrs. Each entry is limited to 253 characters by Composio policy; leave empty for the conservative default.

  • network_hostsstring[]

    Host allowlist used only with allowCidrs. Each entry is limited to 253 characters by Composio policy; leave empty for the conservative default.

  • source_referencestringObligatorio

    Provider source reference, such as a documented container image reference.

  • auto_stop_secondsinteger

    Idle seconds before compute stops, bounded to 60-3600 by Composio policy. Stopping does not delete storage or end disk billing.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Delete MachineSMOL_MACHINES_DELETE_MACHINEAcción

Permanently delete one Smol Cloud machine by its exact machine ID. This irreversible operation removes all machine-local storage, ends its storage billing, and requires explicit confirmation. Export important data before calling this tool. Do not automatically retry after an ambiguous failure.

Parámetros de entrada

  • machine_idstringObligatorio

    Exact MachineInfo.id to permanently delete, typically beginning mach-. Machine names are not accepted or resolved.

  • include_usageboolean

    Whether to request synchronously settled usage and cost in the deletion response. Set false to request the empty 204 response variant.

  • confirm_deletebooleanObligatorio

    Must be true to confirm irreversible deletion of the exact machine and all of its machine-local storage. This value is validated locally and is never sent to Smol Machines.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Download FileSMOL_MACHINES_DOWNLOAD_FILEAcción

Download and offload one file from an exact cloud machine. Downloads are limited to 10 MB by Composio policy, and the read resets the machine's auto-stop idle timer.

Parámetros de entrada

  • pathstringObligatorio

    Guest path relative to root, with no leading slash, NUL, empty segment, '.' segment, or '..' segment; at most 1024 UTF-8 bytes.

  • machine_idstringObligatorio

    Exact MachineInfo.id; machine names are not accepted or resolved.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Execute CommandSMOL_MACHINES_EXEC_COMMANDAcción

Run one bounded foreground argv command on an exact hosted Smol Cloud machine. Execution can auto-start billable compute and can modify or delete guest data. Output is text-only, streaming and background execution are disabled, and the action never retries automatically.

Parámetros de entrada

  • cwdstring

    Optional absolute guest working directory, limited to 1024 UTF-8 bytes by Composio policy.

  • envobject

    Optional command environment variables. At most 32 entries are allowed; keys are limited to 128 characters, values to 2048 characters, and the combined keys and values to 16384 UTF-8 bytes by Composio policy. Do not place credentials here unless the task explicitly requires exposing them to the guest process.

  • argvstring[]Obligatorio

    Executable and arguments as an argv array, for example ["python", "--version"]. No shell string parsing is performed. Each item is limited to 4096 characters and the array to 16384 UTF-8 bytes by Composio policy.

  • userstring

    Optional image user name or numeric uid[:gid]. The provider must fail if the user is unsupported rather than silently selecting another user.

  • stdinstring

    Optional non-interactive text sent to standard input, limited to 65536 UTF-8 bytes by Composio policy.

  • machine_idstringObligatorio

    Exact MachineInfo.id on the hosted provider, typically beginning mach-. Machine names are not accepted or resolved, and execution never falls back to the local host.

  • timeout_secondsinteger

    Guest command timeout in seconds, bounded to 1-300 by Composio policy. The provider request gets 30 additional seconds of bounded network headroom.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Get AccountSMOL_MACHINES_GET_ACCOUNTAcción

Get the connected account's status, plan, effective machine limits, billing-period usage, and spend in integer micros.

Parámetros de entrada

Sin parámetros.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Get Account UsageSMOL_MACHINES_GET_ACCOUNT_USAGEAcción

Get metered usage for the connected account's provider-defined period, keeping the requested and consumed metric windows distinct.

Parámetros de entrada

Sin parámetros.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Get MachineSMOL_MACHINES_GET_MACHINEAcción

Get configuration, lifecycle state, and readiness for one cloud machine by its exact machine id, not by name.

Parámetros de entrada

  • machine_idstringObligatorio

    Exact MachineInfo.id returned by create or list, typically beginning mach-; machine names are not accepted or resolved.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Get Machine UsageSMOL_MACHINES_GET_MACHINE_USAGEAcción

Get billing-period usage and cost in integer micros for one exact machine ID. CPU and memory metering can lag by several minutes while a machine is running, so mid-life usage and cost are a lower bound until metering rolls up; stop and delete trigger a final sample. Deleted machine usage remains available for the provider-documented 30-day lookup period.

Parámetros de entrada

  • machine_idstringObligatorio

    Exact MachineInfo.id, including a deleted machine ID for up to the provider-documented 30-day lookup period. Machine names are not accepted or resolved.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

List MachinesSMOL_MACHINES_LIST_MACHINESAcción

List cloud machines owned by the connected account, optionally requiring all supplied labels to match.

Parámetros de entrada

  • labelsstring[]

    Optional label filters in key=value form; every supplied label must match.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Start MachineSMOL_MACHINES_START_MACHINEAcción

Start one stopped cloud machine by exact machine ID. A detached start returns before readiness and requires polling GET_MACHINE until ready=true.

Parámetros de entrada

  • detachboolean

    Set true to return immediately after the provider accepts the start. Then poll GET_MACHINE until ready is true. False waits for the blocking start response.

  • machine_idstringObligatorio

    Exact MachineInfo.id of the stopped machine, not a machine name.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Stop MachineSMOL_MACHINES_STOP_MACHINEAcción

Stop compute for one cloud machine by exact id while preserving its filesystem. Stopping does not delete the machine: stored disk can continue billing and the machine can continue occupying a plan slot until deletion.

Parámetros de entrada

  • machine_idstringObligatorio

    Exact MachineInfo.id returned by create, list, or get, not a machine name.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Upload FileSMOL_MACHINES_UPLOAD_FILEAcción

Upload a file of at most 8,000,000 bytes to a safe relative guest path on one cloud machine identified by its exact machine ID. This can replace existing guest data and resets the machine's auto-stop idle timer.

Parámetros de entrada

  • fileobjectObligatorio

    File content to write, limited to 8,000,000 bytes.

  • pathstringObligatorio

    Guest path relative to root with no leading slash, empty segments, dot segments, or NUL, for example workspace/app.py.

  • machine_idstringObligatorio

    Exact MachineInfo.id returned by create or list, not a machine name.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not