Table of Contents

Class EditToolResult

Namespace
RDCore.SDK.Assistant
Assembly
RDCore.SDK.Protocols.dll

What ApplyFix and Rename answer: the edit applied, or the questions it asks first.

public sealed record EditToolResult : IEquatable<EditToolResult>
Inheritance
EditToolResult
Implements
Inherited Members

Remarks

An edit that asks a question is not applied by a call that answers none (Accept, Accept null): the result lists its questions, and the tool is called again with the answers. The approval a host asks of its user before it makes the tool's call answers none of these questions: it is given before the questions are known.

Properties

Applied

Whether the edit was applied to the documents.

public bool Applied { get; init; }

Property Value

bool

Files

The documents the edit changed, or would change, each with its change; by path.

public IReadOnlyList<ToolFileChange> Files { get; init; }

Property Value

IReadOnlyList<ToolFileChange>

Questions

The questions the edit asks that the call did not answer; none when it was applied.

public IReadOnlyList<ToolEditQuestion> Questions { get; init; }

Property Value

IReadOnlyList<ToolEditQuestion>