Class Tool
Definition of a tool that can be invoked.
public sealed class Tool
- Inheritance
-
Tool
- Inherited Members
Properties
Annotations
Optional annotations for the tool.
[JsonPropertyName("annotations")]
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingDefault)]
public Annotation? Annotations { get; set; }
Property Value
BackendNodeId
Optional node ID for declarative tools.
[JsonPropertyName("backendNodeId")]
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingDefault)]
public long? BackendNodeId { get; set; }
Property Value
- long?
Description
Tool description.
[JsonPropertyName("description")]
public string Description { get; set; }
Property Value
FrameId
Frame identifier associated with the tool registration.
[JsonPropertyName("frameId")]
public string FrameId { get; set; }
Property Value
InputSchema
Schema for the tool's input parameters.
[JsonPropertyName("inputSchema")]
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingDefault)]
public object? InputSchema { get; set; }
Property Value
Name
Tool name.
[JsonPropertyName("name")]
public string Name { get; set; }
Property Value
StackTrace
The stack trace at the time of the registration.
[JsonPropertyName("stackTrace")]
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingDefault)]
public StackTrace? StackTrace { get; set; }