Class CustomToolOutput
The output of a custom tool call from your code, being sent back to the model.
Inheritance
CustomToolOutput
Assembly: Glitch9.AIDevKit.dll
public class CustomToolOutput : ToolOutput, IPrompt, IValidatable, IHasId<string>, IToolCallOutput
Constructors
|
Edit this page
View Source
Declaration
public CustomToolOutput()
Properties
|
Edit this page
View Source
The name of the custom tool being called.
Declaration
[JsonProperty("name")]
public string Name { get; set; }
Property Value
|
Edit this page
View Source
Declaration
[JsonProperty("output")]
public string Output { get; set; }
Property Value
Methods
|
Edit this page
View Source
Declaration
public static CustomToolOutput Error(CustomToolCall call, string message)
Parameters
Returns
|
Edit this page
View Source
Declaration
public static CustomToolOutput Success(CustomToolCall call, object result)
Parameters
Returns
Implements
Extension Methods