get_function_schema
Returns:
Documentation Index
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
get_function_schema(
f: Callable[..., Any],
*,
name: str | None = None,
description: str
) -> dict[str, Any]
| Name | Description |
|---|---|
f | The function to get the JSON schema for Type: Callable[…, Any] |
name | The name of the function Type: str | None Default: None |
description | The description of the function Type: str |
| Type | Description |
|---|---|
| dict[str, typing.Any] | A JSON schema for the function |