For the complete documentation index, see llms.txt. Markdown versions of all pages are available by appending .md to any URL (e.g. /get-started.md).
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']