Skip to main content

Documentation Index

Fetch the complete documentation index at: https://docs.blocks.team/llms.txt

Use this file to discover all available pages before exploring further.

The bash module can be used to execute arbitrary bash commands in your agent’s runtime environment. The bash module is stateless, so if you need a stateful bash session, use the experiemental_bash module.

Example Usage

from blocks import bash

email = "user@example.com"
bash(f"git config --global user.email {email}")

Arguments

command
string
required
The bash command to execute.
suppress_exception
bool
If true, suppresses exceptions raised by the command.