Class ToolDescriptorBase
Shared base class for descriptors that map AI tool/function calls to MonoBehaviour methods.
Holds serialized metadata and the runtime execution cache.
Inheritance
ToolDescriptorBase
Assembly: Glitch9.AIDevKit.Agent.dll
[Serializable]
public abstract class ToolDescriptorBase
Fields
|
Edit this page
View Source
Declaration
[NonSerialized]
public MethodInfo CachedMethod
Field Value
|
Edit this page
View Source
Declaration
[NonSerialized]
public ParameterInfo[] CachedParams
Field Value
|
Edit this page
View Source
Declaration
[NonSerialized]
public Delegate CompiledDelegate
Field Value
|
Edit this page
View Source
Declaration
[SerializeField]
protected string description
Field Value
|
Edit this page
View Source
Declaration
[SerializeField]
protected string methodName
Field Value
|
Edit this page
View Source
Declaration
[SerializeReference]
protected List<JsonSchemaProperty> parameters
Field Value
|
Edit this page
View Source
Declaration
[SerializeField]
protected MonoBehaviour target
Field Value
| Type |
Description |
| MonoBehaviour |
|
Properties
|
Edit this page
View Source
Optional description exposed to the model or editor UI.
Declaration
public string Description { get; }
Property Value
|
Edit this page
View Source
The method name to invoke on the target MonoBehaviour.
Declaration
public string MethodName { get; }
Property Value
|
Edit this page
View Source
Optional parameter metadata (for editor UI and schema generation).
Declaration
public List<JsonSchemaProperty> Parameters { get; }
Property Value
|
Edit this page
View Source
The MonoBehaviour instance on which the method will be invoked.
Declaration
public MonoBehaviour Target { get; }
Property Value
| Type |
Description |
| MonoBehaviour |
|
Extension Methods