Skip to main content

Module tools

Module tools 

Source
Expand description

Server-only tools and tool executors.

These tools are registered only when running the Bamboo HTTP server. They may depend on AppState components (storage, schedulers, etc.).

Framework-agnostic tools (MemoryTool, OverlayToolExecutor, SubAgentTool, etc.) live in the bamboo-server-tools crate. This module re-exports them for convenience and keeps the server-bound glue (ChildSessionAdapter, ScheduleTasksTool) that wires those tools to AppState via ports.

Re-exports§

pub use child_session_adapter::ChildSessionAdapter;
pub use model_catalog::RegistryModelCatalog;
pub use notify_dispatcher::ServerNotificationDispatcher;

Modules§

child_session_adapter
Shared adapter implementing ChildSessionPort for server-side child session tools.
model_catalog
Server-side ModelCatalogPort: lists models per configured provider so the parent agent can pin a child session to an explicit model (SubAgent tool action=list_models / create.model).
notify_dispatcher
Server adapter implementing bamboo_server_tools::NotificationDispatcher for the agent-invocable notify tool.

Structs§

AskAgentTool
ClusterTool
CompactContextTool
Server-side tool for manually triggering conversation context compression.
DeployAgentTool
LoadSkillTool
MemoryTool
NotifyTool
Agent-invocable tool for proactively alerting the human owner outside this conversation (desktop popup and/or configured push channels).
OverlayToolExecutor
Tool executor that overlays a single tool on top of an existing executor.
ReadSkillResourceTool
SessionInspectorTool
Server-only tool for inspecting V2 sessions stored under the Bamboo home dir.
SubAgentTool
ToolSurfaceFactory
Factory that provides pre-built tool executors for each surface variant.

Enums§

ToolSurface
Tool surface variants for different session types.

Traits§

NotificationDispatcher
Port the notify tool dispatches through. Implemented server-side by an adapter with real access to NotificationService, the session broadcast channels, and configured delivery sinks (desktop/ntfy/bark).

Type Aliases§

DeployedRegistry
Keeps deployed workers alive (the handles are kill-on-drop) and lets stop tear them down. Shared for the server’s lifetime.
OptionalSubagentModelResolver
SubagentModelResolver