Class Tool
Base class for all tools, includes type.
Inheritance
Tool
Inherited Members
Namespace: Glitch9.AIDevKit
Assembly: Glitch9.AIDevKit.dll
Syntax
[JsonConverter(typeof(ToolJsonConverter))]
public abstract class Tool
Properties
| Edit this page View SourceType
Required. The logical type of the tool. The serialized string is resolved by API settings (ApiPolicy.TryGetToolTypeString).
Declaration
[JsonProperty("type")]
public virtual ToolType Type { get; set; }
Property Value
| Type | Description |
|---|---|
| ToolType |
Methods
| Edit this page View SourceTryGetToolName(out string)
Declaration
public bool TryGetToolName(out string name)
Parameters
| Type | Name | Description |
|---|---|---|
| string | name |
Returns
| Type | Description |
|---|---|
| bool |