Skip to main content

BeforeExecute

Trait BeforeExecute 

Source
pub trait BeforeExecute: Send + Sync {
    // Required method
    fn modify(
        &self,
        tool: &str,
        toolkit: &str,
        params: ToolExecuteParams,
    ) -> ToolExecuteParams;
}
Expand description

Trait for before execute modifiers

Required Methods§

Source

fn modify( &self, tool: &str, toolkit: &str, params: ToolExecuteParams, ) -> ToolExecuteParams

Modify parameters before tool execution

§Arguments
  • tool - Tool slug (e.g., “GITHUB_CREATE_ISSUE”)
  • toolkit - Toolkit slug (e.g., “github”)
  • params - Execution parameters to modify
§Returns

Modified execution parameters

Implementors§