Wrapper function type for the wrapToolCall hook. Allows middleware to intercept and modify tool execution.
WrapToolCallHook: (
request: ToolCallRequest<NormalizedSchemaInput<TSchema>, TContext>,
handler: ToolCallHandler<NormalizedSchemaInput<TSchema>, TContext>
) => PromiseOrValue<ToolMessage | Command>