MappedTool
Namespace: Vercel.AI.ProviderUtils
public sealed class MappedToolA tool passed to a language model when building a name map.
Inheritance: object
Constructors
Section titled “Constructors”MappedTool(string, string, string?)
Section titled “MappedTool(string, string, string?)”public MappedTool(string type, string name, string? id = null)Creates a tool description.
Parameters
| Name | Type | Description |
|---|---|---|
type |
string | |
name |
string | |
id |
string |
Properties
Section titled “Properties”public string? Id { get; }Provider tool id, such as anthropic.computer-use.
Value: string
public string Name { get; }Client tool name.
Value: string
public string Type { get; }provider or function.
Value: string
Apache-2.0 · Copyright 2023 Vercel, Inc. · unofficial community port, not an official Vercel product