nat.atif.tool_call#

Tool call model for ATIF trajectories.

Classes#

ToolCall

A tool call within a step.

Module Contents#

class ToolCall(/, **data: Any)#

Bases: pydantic.BaseModel

A tool call within a step.

Create a new model by parsing and validating input data from keyword arguments.

Raises [ValidationError][pydantic_core.ValidationError] if the input data cannot be validated to form a valid model.

self is explicitly positional-only to allow self as a field name.

tool_call_id: str = None#
function_name: str = None#
arguments: dict[str, Any] = None#
model_config#

Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].