Expand description
Built-in tool set.
Implements the Tool trait from defect_agent, providing basic capabilities such
as file I/O, bash execution, and text search. Each tool resides in its own submodule
and can be enabled as needed.
Re-exports§
pub use bash::BashTool;pub use fetch::FetchTool;pub use fs::EditFileTool;pub use fs::LocalFsBackend;pub use fs::ReadFileTool;pub use fs::WriteFileTool;pub use search::SearchTool;pub use shell::DEFAULT_MAX_OUTPUT_BYTES;pub use shell::LocalShellBackend;
Modules§
- bash
- Bash built-in tool: runs a non-interactive shell command, merges stdout/stderr, returns a single frame.
- fetch
- Built-in
fetchtool: reads a URL, renders content (markdown / html / text), enforces timeout and size limits. - fs
- Built-in
fstool family:read_file,write_file,edit_file. - search
- Built-in
searchtool: grep file contents (content mode) or list files matching a glob (files mode) within the workspace. - shell
- A
ShellBackendimplementation for local processes.