Class EditToolResult
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
Files
The documents the edit changed, or would change, each with its change; by path.
public IReadOnlyList<ToolFileChange> Files { get; init; }
Property Value
Questions
The questions the edit asks that the call did not answer; none when it was applied.
public IReadOnlyList<ToolEditQuestion> Questions { get; init; }