pub trait IcarusTool: Send + Sync {
// Required methods
fn info(&self) -> ToolInfo;
fn to_rmcp_tool(&self) -> Tool;
fn execute<'life0, 'async_trait>(
&'life0 self,
args: Value,
) -> Pin<Box<dyn Future<Output = Result<Value>> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait;
// Provided methods
fn requires_stable_storage(&self) -> bool { ... }
fn storage_requirements(&self) -> StorageRequirements { ... }
}Expand description
Core trait for Icarus tools that integrate with rmcp
Required Methods§
Sourcefn to_rmcp_tool(&self) -> Tool
fn to_rmcp_tool(&self) -> Tool
Convert to rmcp tool representation
Provided Methods§
Sourcefn requires_stable_storage(&self) -> bool
fn requires_stable_storage(&self) -> bool
Check if the tool requires stable storage
Sourcefn storage_requirements(&self) -> StorageRequirements
fn storage_requirements(&self) -> StorageRequirements
Get storage requirements for capacity planning