ToolUnion: BaseTool | ((...args: any[]) => any)

Union type for tools (supporting functions, tools, and toolsets)