Expand description
Filesystem tools read, write and edit, and the harness shell.
The file tools route file access through the calling agent’s
sandbox, so they behave the same against host and container
filesystems. Their texts and limits are the harness’s, which differ from the SDK’s vended
read/write/edit. shell is the SDK’s stateless sandbox shell
(strands::vended_tools::shell::make_shell).
Constants§
- EDIT_
DESCRIPTION - The
edittool description. - READ_
DESCRIPTION - The
readtool description (READ_DESCRIPTION). - WRITE_
DESCRIPTION - The
writetool description.
Functions§
- edit_
tool - The harness
edittool (edit): replacesold_str, which must appear exactly once, withnew_str. - read_
tool - The harness
readtool. - shell_
tool - The harness
shellbuilt-in (makeShell(builtinTools.shell)): the SDK’s stateless sandbox shell, whose schema iscommandandtimeoutonly.descriptionreplaces the SDK’s default description (ShellConfig.description). - write_
tool - The harness
writetool (write): writes the whole file through the agent’s sandbox and reports the line count.