McpToolHeaders.Binding
Namespace: Vercel.AI.Mcp
public sealed class McpToolHeaders.BindingOne header bound to a tool argument path.
Inheritance: object
Constructors
Section titled “Constructors”Binding(string, IReadOnlyList<string>, string)
Section titled “Binding(string, IReadOnlyList<string>, string)”public Binding(string headerName, IReadOnlyList<string> path, string valueType)Creates a binding.
Parameters
| Name | Type | Description |
|---|---|---|
headerName |
string | |
path |
IReadOnlyList<string> | |
valueType |
string |
Properties
Section titled “Properties”HeaderName
Section titled “HeaderName”public string HeaderName { get; }HTTP header token from x-mcp-header.
Value: string
public IReadOnlyList<string> Path { get; }Property path from the input object.
Value: IReadOnlyList<string>
ValueType
Section titled “ValueType”public string ValueType { get; }string, integer, or boolean.
Value: string
Apache-2.0 · Copyright 2023 Vercel, Inc. · unofficial community port, not an official Vercel product