Python class
FunctionTool
FunctionToolβ
class max.pipelines.request.FunctionTool(*, type='function', name, description=None, parameters=None, strict=None)
Bases: BaseModel
A function tool definition in the response.
-
Parameters:
descriptionβ
model_configβ
model_config: ClassVar[ConfigDict] = {'frozen': True}
Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].
nameβ
name: str
parametersβ
strictβ
typeβ
type: Literal['function']
Was this page helpful?
Thank you! We'll create more content like this.
Thank you for helping us improve!