Skip to content

FingerprintTool

Namespace: Vercel.AI.GenerateText

public sealed class FingerprintTool

A tool definition pinned by FingerprintTool%7d).

Inheritance: object

View source

FingerprintTool(JsonElement, string?, bool, string?)

Section titled “FingerprintTool(JsonElement, string?, bool, string?)”
public FingerprintTool(JsonElement inputSchema, string? description = null, bool descriptionIsFunction = false, string? title = null)

Creates a tool definition.

Parameters

Name Type Description
inputSchema JsonElement
description string
descriptionIsFunction bool
title string

View source

public string? Description { get; }

String description. Ignored when DescriptionIsFunction is true.

Value: string

View source

public bool DescriptionIsFunction { get; }

True when the description is a function. Only the presence of a function is pinned.

Value: bool

View source

public JsonElement InputSchema { get; }

JSON Schema for the tool input.

Value: JsonElement

View source

public string? Title { get; }

Tool title.

Value: string

View source

Apache-2.0 · Copyright 2023 Vercel, Inc. · unofficial community port, not an official Vercel product