langchain_core.utils.function_calling.ToolDescription¶

class langchain_core.utils.function_calling.ToolDescription[source]¶

Representation of a callable function to the OpenAI API.

type: Literal['function']¶

The type of the tool.

function: FunctionDescription¶

The function description.