Represents a tool call specification.
ToolCallSpec
const toolCall: ToolCallSpec = { id: '1', name: 'getWeather', arguments: { location: 'New York' }}; Copy
const toolCall: ToolCallSpec = { id: '1', name: 'getWeather', arguments: { location: 'New York' }};
Optional
The arguments to pass to the tool.
The unique identifier for the tool call.
The name of the tool being called.
Represents a tool call specification.
ToolCallSpec
Example