Expand description
The individual developer tools.
Re-exports§
pub use apply_patch::ApplyPatchTool;pub use bash::BashTool;pub use bash::RunningCommand;pub use edit::EditFileTool;pub use glob::GlobTool;pub use grep::GrepTool;pub use output::BoundedOutput;pub use output::INLINE_OUTPUT_CHARS;pub use output::OutputFile;pub use output::OutputStore;pub use output::bound_output;pub use read::DEFAULT_MAX_INLINE_BYTES;pub use read::ReadFileTool;pub use read::sniff_inline_mime;pub use write::WriteFileTool;
Modules§
- apply_
patch apply_patch— a multi-file patch, checked whole and written all or nothing (spec 3.1 §7.26, §10 D8).- bash
bash— run a shell command inside the workspace.- edit
edit_file— exact-string replacement within a file.- glob
glob— list workspace files matching a glob pattern.- grep
grep— regex content search across workspace files.- output
- A command’s output: its start and end in memory for the result, and all of it in a file
an
OutputStorenames (spec 3.1 §7.33 fix 8, §10 D10). - read
read_file— return the (optionally sliced) contents of a file, or an image or PDF as inline data (spec 3.1 §10 D6).- write
write_file— create or overwrite a file in the workspace.