diff options
Diffstat (limited to 'src/Agent.Core/Tools/ToolPolicy.cs')
| -rw-r--r-- | src/Agent.Core/Tools/ToolPolicy.cs | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/src/Agent.Core/Tools/ToolPolicy.cs b/src/Agent.Core/Tools/ToolPolicy.cs index cefca8d..66f63ab 100644 --- a/src/Agent.Core/Tools/ToolPolicy.cs +++ b/src/Agent.Core/Tools/ToolPolicy.cs @@ -25,7 +25,12 @@ public sealed record ToolExecutionResult( string Output, bool ExternalEffect, string? FailureFingerprint = null, - bool RetryAllowed = true); + bool RetryAllowed = true, + string? ErrorCode = null, + string? ErrorCategory = null, + string? TargetPath = null, + string? RequiredPermission = null, + string? Resolution = null); public sealed class DenyByDefaultPolicy(IReadOnlySet<string>? allowedTools = null) : IToolPolicyEngine { |
