Ask a question to get started
Enter to sendā¢Shift+Enter new line
InvalidToolCall()
TypedDict
Used for discrimination.
An identifier associated with the tool call.
An identifier is needed to associate a tool call request with a tool call result in events when multiple concurrent tool calls are made.
The name of the tool to be called.
The arguments to the tool call.
An error message associated with the tool call.
Index of block in aggregate response. Used during streaming.
Provider-specific metadata.
Allowance for errors made by LLM.
Here we add an error key to surface errors made during generation (e.g., invalid JSON arguments.)
error