ToolSearchStepItem
Namespace: Vercel.AI.Operations
public sealed class ToolSearchStepItemA tool result or tool error from one step.
Inheritance: object
Constructors
Section titled “Constructors”ToolSearchStepItem(string, string, string?, object?)
Section titled “ToolSearchStepItem(string, string, string?, object?)”public ToolSearchStepItem(string type, string toolCallId, string? toolName, object? output)Creates an item.
Parameters
| Name | Type | Description |
|---|---|---|
type |
string | |
toolCallId |
string | |
toolName |
string | |
output |
object |
Properties
Section titled “Properties”Output
Section titled “Output”public object? Output { get; }Result value.
Value: object
ToolCallId
Section titled “ToolCallId”public string ToolCallId { get; }Tool call id.
Value: string
ToolName
Section titled “ToolName”public string? ToolName { get; }Tool name.
Value: string
public string Type { get; }tool-result or tool-error.
Value: string
Apache-2.0 · Copyright 2023 Vercel, Inc. · unofficial community port, not an official Vercel product