Defines one callable tool that can be exposed to an AI service.
API unit family: TMSFNCCloudAI
Inherits from: TCollectionItem
Syntax
TTMSFNCCloudAITool = class(TCollectionItem)
Properties
| Name |
Description |
| AutoCreated |
Gets or sets whether the tool was created automatically from a registered tool set. |
| Description |
Gets or sets the tool description sent to the service. |
| Enabled |
Gets or sets whether the tool is included in generated requests. |
| Name |
Gets or sets the tool name sent to the service. |
| Parameters |
Gets or sets the parameter definitions accepted by the tool. |
| Tag |
Gets or sets user-defined data associated with the tool. |
Methods
| Name |
Description |
| Execute |
Executes the tool with the specified arguments. |
Events
| Name |
Description |
| OnExecute |
Fires when the tool is executed. |