Enum UnhandledToolCallBehaviour
Defines the policy to apply when a tool call is received but the agent has no handler for it.
Namespace: Glitch9.AIDevKit.Agents
Assembly: Glitch9.AIDevKit.dll
Syntax
public enum UnhandledToolCallBehaviour
Fields
| Name | Description |
|---|---|
| LogAndIgnore | Logs that the tool call was unhandled. If the unhandled call prevents the conversation from progressing, the agent may attempt a fallback process to continue the dialogue flow. |
| ReturnRefusal | Instead of raising an exception, the client directly creates and returns a |
| SubmitToolOutput | The agent transitions to a |
| Throw | Immediately throws an exception. Use this in strict or debugging scenarios where every tool call must be handled explicitly. |