Condukt.Tools.Bash (Condukt v0.16.5)

Copy Markdown View Source

Tool for executing bash commands.

Routes through the active Condukt.Sandbox. With Sandbox.Local this spawns a real bash subprocess on the host; with Sandbox.Virtual it runs inside the in-memory bashkit interpreter with no host process spawning.

Output is truncated to reasonable limits.

Parameters

  • command - The bash command to execute
  • cwd - Directory to run the command in (optional, relative to the sandbox's cwd)
  • timeout - Timeout in seconds (optional, default: 120)

Summary

Functions

Callback implementation for Condukt.Tool.description/1.

Callback implementation for Condukt.Tool.name/1.

Callback implementation for Condukt.Tool.parameters/1.

Functions

description(list)

Callback implementation for Condukt.Tool.description/1.

name(list)

Callback implementation for Condukt.Tool.name/1.

parameters(list)

Callback implementation for Condukt.Tool.parameters/1.