Skip to main content

Module tools

Module tools 

Source
Expand description

Built-in agent tools.

Re-exports§

pub use bash::BashTool;
pub use edit::EditFileTool;
pub use file::ReadFileTool;
pub use file::WriteFileTool;
pub use list::ListFilesTool;
pub use prun::PrunRecord;
pub use prun::PrunRequest;
pub use prun::PrunTool;
pub use prun::PrunVariant;
pub use registry::ToolRegistry;
pub use revert::RevertRecord;
pub use revert::RevertRequest;
pub use revert::RevertTool;
pub use search::SearchTool;

Modules§

bash
Bash tool — execute shell commands with timeout and output capture.
edit
Edit tool — surgical search/replace edits on files.
file
File tools — read and write files with safety limits.
list
List files tool — directory exploration.
prun
Model-invocable tool for surgical context pruning (2-stream architecture).
registry
G10 — Tool registry for config-driven tool instantiation.
revert
Model-invocable tool for Composition I “braking”: tree-structured revert between turns. See docs/concepts/concept-brake.md §5.
search
Search tool — grep/ripgrep-style search across files.

Functions§

default_tools
Get the standard set of coding agent tools.