Interface
ITool
Represents a tool that can be called by the model.
Methods
public abstract Task<String> InvokeAsync(JsonObject arguments, CancellationToken cancellationToken) #Returns:
Task<String>Executes the tool with the provided arguments.
Parameters
- arguments IntelligenceX.Json.JsonObject
- Parsed tool arguments (may be null).
- cancellationToken System.Threading.CancellationToken
- Cancellation token.
Returns
Tool output text.
Properties
public abstract ToolDefinition Definition { get; } #Tool definition metadata.