async def _run_async_with_credential(
      self,
      credentials: Credentials,
      tool_config: BigQueryToolConfig,
      args: dict[str, Any],
      tool_context: ToolContext,
  ) -> Any:
    """Execute the tool's specific logic with valid credentials.

    Args:
        credentials: Valid Google OAuth credentials
        args: Arguments passed to the tool
        tool_context: Tool execution context

    Returns:
        The result of the tool execution
    """
    args_to_call = args.copy()
    signature = inspect.signature(self.func)
    if "credentials" in signature.parameters:
      args_to_call["credentials"] = credentials
    if "config" in signature.parameters:
      args_to_call["config"] = tool_config
    return await super().run_async(args=args_to_call, tool_context=tool_context)
Execute the tool's specific logic with valid credentials.

    Args:
        credentials: Valid Google OAuth credentials
        args: Arguments passed to the tool
        tool_context: Tool execution context

    Returns:
        The result of the tool execution
    
src/google/adk/tools/bigquery/bigquery_tool.py