DOCSAPI reference

INTERFACE

ToolCall

Defined in: tool.ts:19

A tool call requested by a model.

Properties

Property Type Description Defined in
arguments Record<string, unknown> Arguments for the tool. tool.ts:25
id? string Identifier assigned by the model provider. tool.ts:21
tool_name string Name of the tool to call. tool.ts:23