Table of Contents

Method RecordToolCallAsync

Namespace
MailFathom.Application.Agent.Answering
Assembly
MailFathom.Application.dll

RecordToolCallAsync(string, string, string, CancellationToken)

Records a tool the model asked for, so the input its next call is composed from can be rebuilt from the record.

public Task<bool> RecordToolCallAsync(string callId, string toolName, string arguments, CancellationToken cancellationToken)

Parameters

callId string

What the model named the call.

toolName string

The tool it asked for.

arguments string

The arguments, as the model sent them.

cancellationToken CancellationToken

Cancels the write.

Returns

Task<bool>

true when the call was recorded; false when the answer is no longer being composed.