Skip to main content

AfterExecute

Trait AfterExecute 

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

Trait for after execute modifiers

Required Methods§

Source

fn modify( &self, tool: &str, toolkit: &str, response: ToolExecutionResponse, ) -> ToolExecutionResponse

Modify response after tool execution

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

Modified execution response

Implementors§