Expand description
Tool SDK for anyclaw.
Provides the Tool trait for building MCP-compatible tools and
ToolServer for serving them over stdio.
§Stability
This crate is unstable — APIs may change between releases.
Enums marked #[non_exhaustive] will have new variants added; match arms must include _.
Re-exports§
pub use error::ToolSdkError;pub use media_delivery::DynMediaDelivery;pub use media_delivery::MediaDelivery;pub use media_delivery::NoopMediaDelivery;pub use server::ToolServer;pub use trait_def::DynTool;pub use trait_def::Tool;pub use trait_def::ToolContext;pub use workspace_exec::DynWorkspaceExec;pub use workspace_exec::ExecOutput;pub use workspace_exec::WorkspaceExec;
Modules§
- error
- Error types for tool SDK operations.
- media_
delivery - Media delivery trait for direct channel delivery (Phase 6). Media delivery trait for MCP tools.
- server
- MCP tool server that dispatches to
Toolimplementations. - trait_
def - The
Tooltrait that tool authors implement. - workspace_
exec - Workspace access trait for scoped filesystem and exec operations.