The input type of the original tool
The output type of the original tool
The input type of the transformed tool (defaults to InputType)
The output type of the transformed tool (defaults to OutputType)
Pipe this middleware with another middleware, creating a new middleware that applies both in sequence. The current middleware is applied first, then the next middleware.
The next middleware to apply after this one
A new middleware that applies both middlewares in sequence
Middleware that transforms a Tool2Agent into another Tool2Agent. This allows applying transformations to inputs, outputs, or execute functions.