ToolExecutionOutcome
org.llm4s.agent.events.ToolExecutionOutcome
enum ToolExecutionOutcome
How a tool call ended for the loop.
Attributes
- Source
- AgentEventPayloads.scala
- Graph
-
- Supertypes
-
trait Enumtrait Serializabletrait Producttrait Equalsclass Objecttrait Matchableclass AnyShow all
Members list
Type members
Enum entries
case Asked extends ToolExecutionOutcome
The tool suspended with a question.
case Denied extends ToolExecutionOutcome
A middleware denied the call (an error result starting Denied:).
A middleware denied the call (an error result starting Denied:).
Attributes
- Source
- AgentEventPayloads.scala
case Errored extends ToolExecutionOutcome
An error result: the tool's Error, a failed argument check, an unknown tool, or a thrown exception.
An error result: the tool's Error, a failed argument check, an unknown tool, or a thrown exception.
Attributes
- Source
- AgentEventPayloads.scala
case NeedsApproval extends ToolExecutionOutcome
The call suspended for approval.
case Rejected extends ToolExecutionOutcome
A reviewer rejected the call at approval.
case Succeeded extends ToolExecutionOutcome
The tool returned Success.
In this article
