Smol Machines
smol_machinesCreate and operate isolated Smol Cloud machines, run bounded commands, transfer files, and inspect account and usage information.
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ónCreate 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.
SMOL_MACHINES_CREATE_MACHINEAcciónCreate 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
envobjectEnvironment 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.
cpusintegerRequested vCPUs, bounded to 1-8 by Composio policy; the account's effective maximum may be lower.
namestringOptional 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.
labelsobjectOptional labels used by LIST_MACHINES filters. Keys must match the provider's lowercase label syntax and values are limited to 255 characters.
publicbooleanWhether published ports allow unauthenticated public ingress. Defaults to false; set true only for a service that provides its own authentication.
disk_gbintegerRequested disk in GiB, bounded to 1-100 by Composio policy; stored disk can continue billing while stopped.
workdirstringOptional absolute guest working directory used by the machine.
ephemeralbooleanWhether to use the provider's ephemeral-machine behavior in addition to the finite TTL.
memory_mbintegerRequested memory in MiB, bounded to 512-16384 by Composio policy; the account's effective maximum may be lower.
source_typestringenumSource kind: a container image reference or a Smol machine reference.
imagesmolmachinettl_secondsintegerSeconds until provider deletion, bounded to 300-86400 by Composio policy so the resource cannot live indefinitely.
architecturestringenumOptional requested source architecture; omit to let the provider choose.
arm64amd64network_modestringenumOutbound 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.
allowCidrsblockedopennetwork_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_referencestringObligatorioProvider source reference, such as a documented container image reference.
auto_stop_secondsintegerIdle seconds before compute stops, bounded to 60-3600 by Composio policy. Stopping does not delete storage or end disk billing.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Delete MachineSMOL_MACHINES_DELETE_MACHINEAcciónPermanently 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.
SMOL_MACHINES_DELETE_MACHINEAcciónPermanently 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_idstringObligatorioExact MachineInfo.id to permanently delete, typically beginning mach-. Machine names are not accepted or resolved.
include_usagebooleanWhether to request synchronously settled usage and cost in the deletion response. Set false to request the empty 204 response variant.
confirm_deletebooleanObligatorioMust 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
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Download FileSMOL_MACHINES_DOWNLOAD_FILEAcciónDownload 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.
SMOL_MACHINES_DOWNLOAD_FILEAcciónDownload 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
pathstringObligatorioGuest path relative to root, with no leading slash, NUL, empty segment, '.' segment, or '..' segment; at most 1024 UTF-8 bytes.
machine_idstringObligatorioExact MachineInfo.id; machine names are not accepted or resolved.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Execute CommandSMOL_MACHINES_EXEC_COMMANDAcciónRun 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.
SMOL_MACHINES_EXEC_COMMANDAcciónRun 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
cwdstringOptional absolute guest working directory, limited to 1024 UTF-8 bytes by Composio policy.
envobjectOptional 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[]ObligatorioExecutable 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.
userstringOptional image user name or numeric uid[:gid]. The provider must fail if the user is unsupported rather than silently selecting another user.
stdinstringOptional non-interactive text sent to standard input, limited to 65536 UTF-8 bytes by Composio policy.
machine_idstringObligatorioExact 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_secondsintegerGuest 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
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Get AccountSMOL_MACHINES_GET_ACCOUNTAcciónGet the connected account's status, plan, effective machine limits, billing-period usage, and spend in integer micros.
SMOL_MACHINES_GET_ACCOUNTAcciónGet 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
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Get Account UsageSMOL_MACHINES_GET_ACCOUNT_USAGEAcciónGet metered usage for the connected account's provider-defined period, keeping the requested and consumed metric windows distinct.
SMOL_MACHINES_GET_ACCOUNT_USAGEAcciónGet 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
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Get MachineSMOL_MACHINES_GET_MACHINEAcciónGet configuration, lifecycle state, and readiness for one cloud machine by its exact machine id, not by name.
SMOL_MACHINES_GET_MACHINEAcciónGet configuration, lifecycle state, and readiness for one cloud machine by its exact machine id, not by name.
Parámetros de entrada
machine_idstringObligatorioExact MachineInfo.id returned by create or list, typically beginning mach-; machine names are not accepted or resolved.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Get Machine UsageSMOL_MACHINES_GET_MACHINE_USAGEAcciónGet 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.
SMOL_MACHINES_GET_MACHINE_USAGEAcciónGet 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_idstringObligatorioExact 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
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
List MachinesSMOL_MACHINES_LIST_MACHINESAcciónList cloud machines owned by the connected account, optionally requiring all supplied labels to match.
SMOL_MACHINES_LIST_MACHINESAcciónList 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
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Start MachineSMOL_MACHINES_START_MACHINEAcciónStart one stopped cloud machine by exact machine ID. A detached start returns before readiness and requires polling GET_MACHINE until ready=true.
SMOL_MACHINES_START_MACHINEAcciónStart 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
detachbooleanSet 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_idstringObligatorioExact MachineInfo.id of the stopped machine, not a machine name.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Stop MachineSMOL_MACHINES_STOP_MACHINEAcciónStop 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.
SMOL_MACHINES_STOP_MACHINEAcciónStop 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_idstringObligatorioExact MachineInfo.id returned by create, list, or get, not a machine name.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Upload FileSMOL_MACHINES_UPLOAD_FILEAcciónUpload 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.
SMOL_MACHINES_UPLOAD_FILEAcciónUpload 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
fileobjectObligatorioFile content to write, limited to 8,000,000 bytes.
pathstringObligatorioGuest path relative to root with no leading slash, empty segments, dot segments, or NUL, for example workspace/app.py.
machine_idstringObligatorioExact MachineInfo.id returned by create or list, not a machine name.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not