Table of Contents

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

Id string

The tool-use id.

Name string

The wire name of the tool.

Result string

The result content sent back to the model.

IsError bool

Whether the tool failed.

Properties

Id

The tool-use id.

public string Id { get; init; }

Property Value

string

IsError

Whether the tool failed.

public bool IsError { get; init; }

Property Value

bool

Name

The wire name of the tool.

public string Name { get; init; }

Property Value

string

Result

The result content sent back to the model.

public string Result { get; init; }

Property Value

string