convert_to_json_schema#
- langchain_core.utils.function_calling.convert_to_json_schema(schema: dict[str, Any] | type[BaseModel] | Callable | BaseTool, *, strict: bool | None = None) dict[str, Any] [source]#
Convert a schema representation to a JSON schema.