public sealed class TrajectorySingleToolUseSpec : IMessage<TrajectorySingleToolUseSpec>, IEquatable<TrajectorySingleToolUseSpec>, IDeepCloneable<TrajectorySingleToolUseSpec>, IBufferMessage, IMessage
Reference documentation and code samples for the Vertex AI v1beta1 API class TrajectorySingleToolUseSpec.
Spec for TrajectorySingleToolUse metric - returns 1 if tool is present in the
predicted trajectory, else 0.
[[["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-14 UTC."],[[["\u003cp\u003eThe \u003ccode\u003eTrajectorySingleToolUseSpec\u003c/code\u003e class is part of the Vertex AI v1beta1 API, used to specify a metric that determines if a tool is present in a predicted trajectory, returning 1 if present, else 0.\u003c/p\u003e\n"],["\u003cp\u003eThis class implements multiple interfaces, including \u003ccode\u003eIMessage\u003c/code\u003e, \u003ccode\u003eIEquatable\u003c/code\u003e, \u003ccode\u003eIDeepCloneable\u003c/code\u003e, and \u003ccode\u003eIBufferMessage\u003c/code\u003e, providing various functionalities like message handling, equality comparison, deep cloning, and buffer management.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eTrajectorySingleToolUseSpec\u003c/code\u003e class has two constructors, one default and another that takes an instance of \u003ccode\u003eTrajectorySingleToolUseSpec\u003c/code\u003e for creating a new object based on an existing one.\u003c/p\u003e\n"],["\u003cp\u003eIt contains two properties, \u003ccode\u003eHasToolName\u003c/code\u003e which determines if the "tool_name" field is set and \u003ccode\u003eToolName\u003c/code\u003e which allows you to set the name of a tool to check for within a predicted trajectory.\u003c/p\u003e\n"],["\u003cp\u003eThe class is namespaced under \u003ccode\u003eGoogle.Cloud.AIPlatform.V1Beta1\u003c/code\u003e and is part of the \u003ccode\u003eGoogle.Cloud.AIPlatform.V1Beta1.dll\u003c/code\u003e assembly.\u003c/p\u003e\n"]]],[],null,[]]