Convert a schema representation to a JSON schema.
convert_to_json_schema(
schema: dict[str, Any] | type[BaseModel] | Callable | BaseTool,
*,
strict: bool | None = None
) -> dict[str, Any]| Name | Type | Description |
|---|---|---|
schema* | dict[str, Any] | type[BaseModel] | Callable | BaseTool | The schema to convert. |
strict | bool | None | Default: NoneIf If |