Skip to content

Shell and System

Shell execution, environment variables, scheduling, and desktop automation.

← Prebuilt Tools overview

ToolExtraDescription
environmentbaseRead, set, and unset environment variables.
shellbaseExecute shell commands with stdout/stderr capture.
cronbaseAdd, list, and remove cron jobs.
use_computeruse-computerDesktop automation — mouse, keyboard, and OCR.

environment

Read, set, and unset environment variables.

python
from elsai_tools.environment import environment
ParameterTypeRequiredDescription
actionstrYeslist, get, set, delete, or validate
namestrNoVariable name
valuestrNoValue to set
prefixstrNoFilter by prefix (list)
maskedboolNoMask sensitive values

shell

Execute shell commands with stdout/stderr capture.

python
from elsai_tools.shell import shell
ParameterTypeRequiredDescription
commandUnion[str, List[Union[str, Dict[str, Any]]]]YesCommand string, list of commands, or command objects
parallelboolNoRun commands in parallel
ignore_errorsboolNoContinue on failure
timeoutintNoTimeout in seconds
work_dirstrNoWorking directory
non_interactiveboolNoSkip confirmation prompt

cron

Add, list, and remove cron jobs.

python
from elsai_tools.cron import cron
ParameterTypeRequiredDescription
actionstrYesadd, list, or remove
schedulestrNoCron expression
commandstrNoCommand to run
job_idintNoJob ID (remove)
descriptionstrNoHuman-readable description

use_computer

Desktop automation — mouse, keyboard, and OCR.

python
from elsai_tools.use_computer import use_computer

Extra: use-computer

ParameterTypeRequiredDescription
actionstrYesAction type (click, type, screenshot, etc.)
xintNoScreen X coordinate
yintNoScreen Y coordinate
textstrNoText to type
keystrNoKey to press
regionList[int]NoScreen region [x, y, w, h]
app_namestrNoTarget application
click_typestrNoClick type

Copyright © 2026 Elsai Foundry.