pub trait Plugin: Send + Sync {
// Required methods
fn name(&self) -> &str;
fn tools(&self) -> Vec<Box<dyn AsyncTool>>;
fn supports_tool(&self, tool_name: &str) -> bool;
// Provided methods
fn description(&self) -> &str { ... }
fn version(&self) -> &str { ... }
}Expand description
Plugin interface - organizes related tools
Required Methods§
Sourcefn supports_tool(&self, tool_name: &str) -> bool
fn supports_tool(&self, tool_name: &str) -> bool
Check if this plugin supports a specific tool