Class ToolCall
Assembly: Glitch9.AIDevKit.dll
public abstract class ToolCall : ConversationItem, IPrompt, IValidatable, IHasId<string>
Constructors
|
Edit this page
View Source
Declaration
protected ToolCall(string type)
Parameters
| Type |
Name |
Description |
| string |
type |
|
Properties
|
Edit this page
View Source
The call ID, used to map this tool call output to a tool call.
Declaration
[JsonProperty("call_id")]
public string CallId { get; set; }
Property Value
|
Edit this page
View Source
Optional. Index of the tool call.
Declaration
[JsonProperty("index")]
public int? Index { get; set; }
Property Value
|
Edit this page
View Source
The name of the custom tool being called. (if supported)
Declaration
[JsonProperty("name")]
public string Name { get; set; }
Property Value
Methods
|
Edit this page
View Source
Declaration
public static ToolCall FromKey(ToolCallKey key, string argumentsJson)
Parameters
Returns
|
Edit this page
View Source
Declaration
public virtual string GetToolArgs()
Returns
|
Edit this page
View Source
Declaration
public string GetToolName()
Returns
Implements
Extension Methods