Trait GitIrisTool

Source
pub trait GitIrisTool {
    // Required method
    fn execute<'life0, 'async_trait>(
        &'life0 self,
        git_repo: Arc<GitRepo>,
        config: GitIrisConfig,
    ) -> Pin<Box<dyn Future<Output = Result<CallToolResult, Error>> + Send + 'async_trait>>
       where Self: 'async_trait,
             'life0: 'async_trait;
}
Expand description

Common trait for all Git-Iris MCP tools

This trait defines the common interface that all Git-Iris tools must implement.

Required Methods§

Source

fn execute<'life0, 'async_trait>( &'life0 self, git_repo: Arc<GitRepo>, config: GitIrisConfig, ) -> Pin<Box<dyn Future<Output = Result<CallToolResult, Error>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait,

Execute the tool with the provided repository and configuration

Implementors§