Skip to main content

Module tool

Module tool 

Source
Expand description

Built-in tools, wired to a real SessionEnv.

Each tool operates purely against the env, so the same tools work over a local directory, a virtual fs, or a remote container. Mirrors Flue’s tools in packages/runtime/src/agent.ts.

Structs§

BashTool
bash — run a shell command in the sandbox.
EditTool
edit — replace a unique snippet in a file.
GlobTool
glob — list files matching a pattern.
GrepTool
grep — search file contents.
ReadTool
read — read a file from the sandbox, bounded by line/byte limits.
WriteTool
write — write a file, creating parent directories.

Functions§

mvp_tools
Build the MVP toolset over env: read, write, edit, bash, glob, grep.
mvp_tools_with_limits
Like mvp_tools but with explicit resource limits.