code: def test_get_parameter_json_schema() -> None:
      assert get_parameter_json_schema("c", str, {}) == {
          "type": "string",
          "description": "c",
      }
      assert get_parameter_json_schema("c", str, {"c": "ccc"}) == {
          "type": "string",
          "description": "c",
          "default": "ccc",
      }
  
      assert get_parameter_json_schema(
          "a", Annotated[str, "parameter a"], {}
      ) == {
          "type": "string",
          "description": "parameter a",
      }
      assert get_parameter_json_schema(
          "a", Annotated[str, "parameter a"], {"a": "3.14"}
      ) == {
          "type": "string",
          "description": "parameter a",
          "default": "3.14",
      }
  
      class B(BaseModel):
          b: float
          c: str
  
      expected = {
          "description": "b",
          "properties": {
              "b": {"title": "B", "type": "number"},
              "c": {"title": "C", "type": "string"},
          },
          "required": ["b", "c"],
          "title": "B",
          "type": "object",
      }
      assert get_parameter_json_schema("b", B, {}) == expected
  
      expected["default"] = B(b=1.2, c="3.4")
      assert (
          get_parameter_json_schema("b", B, {"b": B(b=1.2, c="3.4")})
          == expected
      )
  
imports: import asyncio
  import inspect
  import unittest.mock
  from typing import Dict, List, Literal, Optional, Tuple
  import pytest
  from pydantic import BaseModel, Field
  from typing_extensions import Annotated
  from autogen._pydantic import PYDANTIC_V1, model_dump
  from autogen.function_utils import get_default_values, get_function_schema, get_load_param_if_needed_function, get_missing_annotations, get_param_annotations, get_parameter_json_schema, get_parameters, get_required_params, get_typed_annotation, get_typed_return_annotation, get_typed_signature, load_basemodels_if_needed, serialize_to_str
label_desc: Use image node_id 6 for calling a global function with example usage: test_get_parameter_json_schema() without return types