AITool |
public class AIToolCall
The AIToolCall type exposes the following members.
| Name | Description | |
|---|---|---|
| AIToolCall | Initializes a new instance of the AIToolCall class |
| Name | Description | |
|---|---|---|
| Arguments | JSON string containing the arguments the AI supplied. | |
| Id | Provider-issued call identifier. Pass it back via ToolChatMessage when submitting the tool result. | |
| Name | Name of the tool the AI wants to invoke. |
| Name | Description | |
|---|---|---|
| Equals | Determines whether the specified object is equal to the current object. (Inherited from Object) | |
| Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object) | |
| GetHashCode | Serves as the default hash function. (Inherited from Object) | |
| GetType | Gets the Type of the current instance. (Inherited from Object) | |
| LogMessage | Logs a message to the current ExecutionLog if one is set. | |
| MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object) | |
| ToString | Returns a string that represents the current object. (Inherited from Object) |
| Name | Description | |
|---|---|---|
| CancelOperation | Optional cancellation source propagated from the outer Chat(String, ICancelOperation, ReportExecutionLog, ReportExecutionLog, Int32, ActionString) loop. Execution scripts should poll CancelOperation?.Cancel inside any long-running loop and abort early when it is true. | |
| ExecutionLog | Current log for the tool execution | |
| SecurityContext | Current security user for the tool execution |