Skip to main content

Module builtin_tools

Module builtin_tools 

Source
Expand description

Built-in tools — same names and rough semantics as the Claude Agent SDK built-ins. The builtin-tools feature gives you Read/Write/Edit/Glob/ Grep/Bash. The scheduler feature adds CronCreate/CronList/CronDelete/ Monitor.

Re-exports§

pub use bash::BashTool;
pub use edit::EditTool;
pub use glob::GlobTool;
pub use grep::GrepTool;
pub use read::ReadTool;
pub use write::WriteTool;
pub use cron_create::CronCreateTool;
pub use cron_delete::CronDeleteTool;
pub use cron_list::CronListTool;
pub use monitor::MonitorTool;

Modules§

bash
cron_create
CronCreate tool — schedule a new task.
cron_delete
CronDelete tool — cancel a scheduled task by id.
cron_list
CronList tool — return all scheduled tasks.
edit
glob
grep
monitor
Monitor tool — long-running watcher.
read
write

Functions§

default_tools
Convenience: vector of all built-ins that don’t need shared state.
default_tools_with_scheduler
All ten built-in tools wired against the supplied scheduler. Available only with the scheduler feature.