04 Built-in Tools#
Script: example/04_tools_builtin.py.
OpenRath merges built-in filesystem and shell tools into every session loop. This example asks an agent to write a file, read it back, and run a shell command in the sandbox.
python example/04_tools_builtin.py
Tool |
Purpose |
|---|---|
|
Executes a shell command through the active backend. |
|
Writes text into the sandbox workspace. |
|
Lists the built-in tool table. |
Run it with a local sandbox bound to spec="." if you want to inspect the created file.