Class Tool
Definition of a tool that can be invoked.
public sealed record Tool : IEquatable<Tool>
- Inheritance
-
Tool
- Implements
- Inherited Members
Constructors
Tool(string, string, FrameId)
Definition of a tool that can be invoked.
public Tool(string Name, string Description, FrameId FrameId)
Parameters
NamestringTool name.
DescriptionstringTool description.
FrameIdFrameIdFrame identifier associated with the tool registration.
Properties
Annotations
Optional annotations for the tool.
public Annotation? Annotations { get; init; }
Property Value
BackendNodeId
Optional node ID for declarative tools.
public BackendNodeId? BackendNodeId { get; init; }
Property Value
Description
Tool description.
public string Description { get; init; }
Property Value
FrameId
Frame identifier associated with the tool registration.
public FrameId FrameId { get; init; }
Property Value
InputSchema
Schema for the tool's input parameters.
public JsonElement? InputSchema { get; init; }
Property Value
Name
Tool name.
public string Name { get; init; }
Property Value
StackTrace
The stack trace at the time of the registration.
public StackTrace? StackTrace { get; init; }