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
callIdstringWhat the model named the call.
toolNamestringThe tool it asked for.
argumentsstringThe arguments, as the model sent them.
cancellationTokenCancellationTokenCancels the write.