mirror of
https://github.com/aljazceru/mcp-python-sdk.git
synced 2025-12-19 14:54:24 +01:00
CallToolResult.isError should be optional
This commit is contained in:
@@ -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):
|
||||
|
||||
Reference in New Issue
Block a user