CallToolResult.isError should be optional

This commit is contained in:
Justin Spahr-Summers
2024-11-07 13:38:01 +00:00
parent 5587c0276c
commit 405fb3e18c

View File

@@ -641,7 +641,7 @@ class CallToolResult(Result):
"""The server's response to a tool call."""
content: list[TextContent | ImageContent | EmbeddedResource]
isError: bool
isError: bool = False
class ToolListChangedNotification(Notification):