Class AgentToolResultEvent
- Namespace
- Emissary
- Assembly
- Emissary.dll
A tool finished executing.
public sealed record AgentToolResultEvent : AgentEvent, IEquatable<AgentEvent>, IEquatable<AgentToolResultEvent>
- Inheritance
-
AgentToolResultEvent
- Implements
- Inherited Members
Constructors
AgentToolResultEvent(string, string, string, bool)
A tool finished executing.
public AgentToolResultEvent(string Id, string Name, string Result, bool IsError)
Parameters
IdstringThe tool-use id.
NamestringThe wire name of the tool.
ResultstringThe result content sent back to the model.
IsErrorboolWhether the tool failed.
Properties
Id
The tool-use id.
public string Id { get; init; }
Property Value
IsError
Whether the tool failed.
public bool IsError { get; init; }
Property Value
Name
The wire name of the tool.
public string Name { get; init; }
Property Value
Result
The result content sent back to the model.
public string Result { get; init; }