Interface: ToolCall<NAME, PARAMETERS>
A tool call contains all information required to execute a tool. It can be generated by a language model.
Type parameters
Name | Type | Description |
---|---|---|
NAME | extends string | The name of the tool as a string. |
PARAMETERS | PARAMETERS | The parameters for the tool. |
Properties
args
• args: PARAMETERS
The arguments for the tool.
Defined in
packages/modelfusion/src/tool/ToolCall.ts:16
id
• id: string
The id of the tool call.
Defined in
packages/modelfusion/src/tool/ToolCall.ts:10
name
• name: NAME
The name of the tool.