Documentation
Framework
Version
Class References
Function References
Interface References
Type Alias References
Variable References

ToolCall

Interface: ToolCall

Defined in: types.ts:87

Properties

function

ts
function: object;
function: object;

Defined in: types.ts:90

arguments

ts
arguments: string;
arguments: string;

name

ts
name: string;
name: string;

id

ts
id: string;
id: string;

Defined in: types.ts:88


providerMetadata?

ts
optional providerMetadata: Record<string, unknown>;
optional providerMetadata: Record<string, unknown>;

Defined in: types.ts:95

Provider-specific metadata to carry through the tool call lifecycle


type

ts
type: "function";
type: "function";

Defined in: types.ts:89