Header menu logo Nao

IToolMiddleware Type

Middleware that wraps tool execution (pre/post processing)

Instance members

Instance member Description

this.AfterExecute

Full Usage: this.AfterExecute

Parameters:
Returns: Task<ToolInvocationResult>
Modifiers: abstract

Called after tool execution — can modify output

arg0 : string
arg1 : ToolInvocationResult
Returns: Task<ToolInvocationResult>

this.BeforeExecute

Full Usage: this.BeforeExecute

Parameters:
    arg0 : string
    arg1 : string

Returns: Task<Result<string, string>>
Modifiers: abstract

Called before tool execution — can modify input or short-circuit

arg0 : string
arg1 : string
Returns: Task<Result<string, string>>

Type something to start searching.