OpenResponsesToolContext
Namespace: Vercel.AI.OpenResponses
public sealed class OpenResponsesToolContextInput of EncodeTool and EncodeToolChoice.
Inheritance: object
Constructors
Section titled “Constructors”OpenResponsesToolContext(string, JsonElement)
Section titled “OpenResponsesToolContext(string, JsonElement)”public OpenResponsesToolContext(string name, JsonElement args)Creates the context.
Parameters
| Name | Type | Description |
|---|---|---|
name |
string | |
args |
JsonElement |
Properties
Section titled “Properties”public JsonElement Args { get; }Provider-tool arguments, a JSON object.
Value: JsonElement
public string Name { get; }Tool name.
Value: string
Apache-2.0 · Copyright 2023 Vercel, Inc. · unofficial community port, not an official Vercel product