ToolAttribute Class
Attribute to mark methods that should be exposed as AI tools.
Inheritance
System.Object
ToolAttribute
Namespace: Syncfusion.AI.AgentTools.Core
Assembly: Syncfusion.DocumentSDK.AI.AgentTools.dll
Syntax
public class ToolAttribute : Attribute
Constructors
ToolAttribute()
Declaration
public ToolAttribute()
Properties
Description
Gets or sets the description of what the tool does. This is used by the AI to decide when to call the tool.
Declaration
public string Description { get; set; }
Property Value
| Type |
|---|
| System.String |
Name
Gets or sets the name of the tool as exposed to the AI agent.
Declaration
public string Name { get; set; }
Property Value
| Type |
|---|
| System.String |