ToolDescriptionContext
Namespace: Vercel.AI.Prompt
public sealed class ToolDescriptionContextContext passed to a function-valued tool description.
Inheritance: object
Constructors
Section titled “Constructors”ToolDescriptionContext(object?, string?)
Section titled “ToolDescriptionContext(object?, string?)”public ToolDescriptionContext(object? context, string? sandboxDescription)Creates context.
Parameters
| Name | Type | Description |
|---|---|---|
context |
object | |
sandboxDescription |
string |
Properties
Section titled “Properties”Context
Section titled “Context”public object? Context { get; }Per-tool context value.
Value: object
SandboxDescription
Section titled “SandboxDescription”public string? SandboxDescription { get; }Sandbox description, when a sandbox is active.
Value: string
Apache-2.0 · Copyright 2023 Vercel, Inc. · unofficial community port, not an official Vercel product