HuggingFaceToolCall
Namespace: Vercel.AI.HuggingFace
public sealed class HuggingFaceToolCall : GeneratedToolCallA tool call that Hugging Face ran itself, such as an MCP call.
Inheritance: object → GeneratedContent → GeneratedToolCall
Constructors
Section titled “Constructors”HuggingFaceToolCall(string, string, string, bool)
Section titled “HuggingFaceToolCall(string, string, string, bool)”public HuggingFaceToolCall(string toolCallId, string toolName, string argumentsJson, bool providerExecuted)Creates a tool call.
Parameters
| Name | Type | Description |
|---|---|---|
toolCallId |
string | |
toolName |
string | |
argumentsJson |
string | |
providerExecuted |
bool |
Apache-2.0 · Copyright 2023 Vercel, Inc. · unofficial community port, not an official Vercel product