Skip to main content

Crate bamboo_tools

Crate bamboo_tools 

Source
Expand description

Built-in tools for filesystem and command execution.

This crate provides a plugin-based tool system using the ToolRegistry pattern. All tools implement the Tool trait and can be dynamically registered.

Re-exports§

pub use executor::BuiltinToolExecutor;
pub use executor::BuiltinToolExecutorBuilder;
pub use guide::context::GuideBuildContext;
pub use guide::context::GuideLanguage;
pub use guide::EnhancedPromptBuilder;
pub use guide::ToolCategory;
pub use guide::ToolExample;
pub use guide::ToolGuide;
pub use guide::ToolGuideSpec;
pub use events::ToolEmitter;
pub use events::ToolEvent;
pub use events::ToolEventPhase;
pub use orchestrator::OrchestratorConfig;
pub use orchestrator::OrchestratorResult;
pub use orchestrator::ToolOrchestrator;
pub use parallel::ToolCallResult;
pub use parallel::ToolCallRuntime;
pub use output_manager::ArtifactRef;
pub use output_manager::ToolOutputManager;
pub use tools::BashOutputTool;
pub use tools::BashTool;
pub use tools::ConclusionWithOptionsTool;
pub use tools::EditTool;
pub use tools::ExitPlanModeTool;
pub use tools::GlobTool;
pub use tools::GrepTool;
pub use tools::KillShellTool;
pub use tools::NotebookEditTool;
pub use tools::ReadTool;
pub use tools::SlashCommandTool;
pub use tools::TaskTool;
pub use tools::ToolRegistry;
pub use tools::WebFetchTool;
pub use tools::WebSearchTool;
pub use tools::WriteTool;

Modules§

events
Structured event tracking for tool executions.
executor
exposure
guide
Tool guide system for enhanced LLM prompts
orchestrator
Tool execution orchestrator.
output_manager
Tool output management for preventing large tool results from consuming the token budget.
parallel
Parallel tool execution runtime.
permission
Permission management system for tool execution.
slash_commands
Slash command management for Bamboo agents.
tools

Structs§

TaskItem
Task item for task tracking.
TaskList
Task list for a session.

Enums§

TaskItemStatus
Task item status.
ToolMutability
Classification of a tool call for approval purposes.

Constants§

BUILTIN_TOOL_NAMES
List of all built-in tool names.

Functions§

classify_tool
Classify a tool call as read-only or mutating.
is_builtin_tool
Checks if a tool reference is a built-in tool
normalize_tool_ref
Normalizes a tool reference to a standard tool name.
resolve_alias
Returns the canonical tool name for an alias, or None if the name is not an alias.