Skip to main content

Module bash

Module bash 

Source
Expand description

Bash tool: execute shell commands.

Runs commands via the system shell. Features:

  • Timeout with configurable duration (default 2min, max 10min)
  • Background execution for long-running commands
  • Sandbox mode: blocks writes outside the project directory
  • Destructive command warnings
  • Output truncation for large results
  • Cancellation via CancellationToken

Structsยง

BashTool