public sealed class FunctionCall : IMessage<FunctionCall>, IEquatable<FunctionCall>, IDeepCloneable<FunctionCall>, IBufferMessage, IMessage
Reference documentation and code samples for the Vertex AI v1beta1 API class FunctionCall.
A predicted [FunctionCall] returned from the model that contains a string
representing the [FunctionDeclaration.name] and a structured JSON object
containing the parameters and their values.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-28 UTC."],[[["\u003cp\u003eThe \u003ccode\u003eFunctionCall\u003c/code\u003e class in the Vertex AI v1beta1 API represents a predicted function call returned by a model, containing the function's name and parameters.\u003c/p\u003e\n"],["\u003cp\u003eIt is part of the \u003ccode\u003eGoogle.Cloud.AIPlatform.V1Beta1\u003c/code\u003e namespace and implemented with the \u003ccode\u003eIMessage\u003c/code\u003e, \u003ccode\u003eIEquatable\u003c/code\u003e, \u003ccode\u003eIDeepCloneable\u003c/code\u003e, and \u003ccode\u003eIBufferMessage\u003c/code\u003e interfaces.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eFunctionCall\u003c/code\u003e class has properties such as \u003ccode\u003eArgs\u003c/code\u003e (function parameters in JSON format), \u003ccode\u003eId\u003c/code\u003e (a unique identifier), and \u003ccode\u003eName\u003c/code\u003e (the function's name).\u003c/p\u003e\n"],["\u003cp\u003eThere are two constructor options for this class, one default and another accepting a FunctionCall parameter for initialization, allowing users to easily clone the object.\u003c/p\u003e\n"],["\u003cp\u003eThis class has inherited methods such as GetHashCode(), GetType(), and ToString() from its Object base class.\u003c/p\u003e\n"]]],[],null,["# Vertex AI v1beta1 API - Class FunctionCall (1.0.0-beta47)\n\nVersion latestkeyboard_arrow_down\n\n- [1.0.0-beta47 (latest)](/dotnet/docs/reference/Google.Cloud.AIPlatform.V1Beta1/latest/Google.Cloud.AIPlatform.V1Beta1.FunctionCall)\n- [1.0.0-beta46](/dotnet/docs/reference/Google.Cloud.AIPlatform.V1Beta1/1.0.0-beta46/Google.Cloud.AIPlatform.V1Beta1.FunctionCall) \n\n public sealed class FunctionCall : IMessage\u003cFunctionCall\u003e, IEquatable\u003cFunctionCall\u003e, IDeepCloneable\u003cFunctionCall\u003e, IBufferMessage, IMessage\n\nReference documentation and code samples for the Vertex AI v1beta1 API class FunctionCall.\n\nA predicted \\[FunctionCall\\] returned from the model that contains a string\nrepresenting the \\[FunctionDeclaration.name\\] and a structured JSON object\ncontaining the parameters and their values. \n\nInheritance\n-----------\n\n[object](https://learn.microsoft.com/dotnet/api/system.object) \\\u003e FunctionCall \n\nImplements\n----------\n\n[IMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage-1.html)[FunctionCall](/dotnet/docs/reference/Google.Cloud.AIPlatform.V1Beta1/latest/Google.Cloud.AIPlatform.V1Beta1.FunctionCall), [IEquatable](https://learn.microsoft.com/dotnet/api/system.iequatable-1)[FunctionCall](/dotnet/docs/reference/Google.Cloud.AIPlatform.V1Beta1/latest/Google.Cloud.AIPlatform.V1Beta1.FunctionCall), [IDeepCloneable](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IDeepCloneable-1.html)[FunctionCall](/dotnet/docs/reference/Google.Cloud.AIPlatform.V1Beta1/latest/Google.Cloud.AIPlatform.V1Beta1.FunctionCall), [IBufferMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IBufferMessage.html), [IMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage.html) \n\nInherited Members\n-----------------\n\n[object.GetHashCode()](https://learn.microsoft.com/dotnet/api/system.object.gethashcode) \n[object.GetType()](https://learn.microsoft.com/dotnet/api/system.object.gettype) \n[object.ToString()](https://learn.microsoft.com/dotnet/api/system.object.tostring)\n\nNamespace\n---------\n\n[Google.Cloud.AIPlatform.V1Beta1](/dotnet/docs/reference/Google.Cloud.AIPlatform.V1Beta1/latest/Google.Cloud.AIPlatform.V1Beta1)\n\nAssembly\n--------\n\nGoogle.Cloud.AIPlatform.V1Beta1.dll\n\nConstructors\n------------\n\n### FunctionCall()\n\n public FunctionCall()\n\n### FunctionCall(FunctionCall)\n\n public FunctionCall(FunctionCall other)\n\nProperties\n----------\n\n### Args\n\n public Struct Args { get; set; }\n\nOptional. Required. The function parameters and values in JSON object\nformat. See \\[FunctionDeclaration.parameters\\] for parameter details.\n\n### Id\n\n public string Id { get; set; }\n\nOptional. The unique id of the function call. If populated, the client to\nexecute the `function_call` and return the response with the matching `id`.\n\n### Name\n\n public string Name { get; set; }\n\nRequired. The name of the function to call.\nMatches \\[FunctionDeclaration.name\\]."]]