Make CallToolResult.IsError optional (#573)
Match the spec, and avoid sending the property in the success case.
This commit is contained in:
parent
fc293429f9
commit
ab51400ba0
1 changed files with 10 additions and 10 deletions
|
|
@ -44,5 +44,5 @@ public sealed class CallToolResult : Result
|
|||
/// and potentially self-correct in subsequent requests.
|
||||
/// </remarks>
|
||||
[JsonPropertyName("isError")]
|
||||
public bool IsError { get; set; }
|
||||
public bool? IsError { get; set; }
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue