ToolValidationContext
Namespace: Vercel.AI.GenerateText
public sealed class ToolValidationContextWhere tool-context validation failed.
Inheritance: object
Constructors
Section titled “Constructors”ToolValidationContext(string, string)
Section titled “ToolValidationContext(string, string)”public ToolValidationContext(string field, string entityName)Creates context.
Parameters
| Name | Type | Description |
|---|---|---|
field |
string | |
entityName |
string |
Properties
Section titled “Properties”EntityName
Section titled “EntityName”public string EntityName { get; }Tool name.
Value: string
public string Field { get; }Field name. Tool context uses tool context.
Value: string
Apache-2.0 · Copyright 2023 Vercel, Inc. · unofficial community port, not an official Vercel product