CallToolResult.isError should be optional
This commit is contained in:
parent
5587c0276c
commit
405fb3e18c
1 changed files with 1 additions and 1 deletions
|
|
@ -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):
|
||||
|
|
|
|||
Loading…
Reference in a new issue