Table of Contents

Class AgentToolCalled

Namespace
MailFathom.Application.Agent.Conversations
Assembly
MailFathom.Application.dll

The model asked for a tool while composing an answer, and this is what it asked for.

public sealed record AgentToolCalled : AgentConversationEntry, IEquatable<AgentConversationEntry>, IEquatable<AgentToolCalled>
Inheritance
AgentToolCalled
Implements
Inherited Members

Remarks

It belongs to the technical history alone. A person sees what a run did through its status line and what it composed; the call itself was written to compose the model's next input, and it is recorded so that input can be rebuilt from the record rather than inferred from it. Together with AgentToolAnswered it is every step a run's tool loop took, in the order it took them.

The arguments are the model's own and routinely name a thread, a person, or a search a person asked for, so they are sensitive exactly as the rest of the record is.

Constructors

AgentToolCalled(AgentMessageId, string, string, string)

The model asked for a tool while composing an answer, and this is what it asked for.

Fields

Kind

The value the type discriminator carries on the wire.

Properties

Arguments

Gets the arguments the model passed, as it sent them.

CallId

Gets what the model named the call.

ComposedInto

Gets the answer this entry is part of, and null where it belongs to no answer being composed.

EntryName

Gets the name this entry is written under, which is the value the type discriminator carries.

History

Gets which of the conversation's two readings this entry belongs to.

MessageId

The answer being composed.

ToolName

Gets the tool the model asked for.