File tree Expand file tree Collapse file tree 2 files changed +9
-3
lines changed
Expand file tree Collapse file tree 2 files changed +9
-3
lines changed Original file line number Diff line number Diff line change 7878 "type" : " array"
7979 },
8080 "isError" : {
81+ "description" : " Whether the tool call ended in an error.\n\n If not set, this is assumed to be false (the call was successful)." ,
8182 "type" : " boolean"
8283 }
8384 },
8485 "required" : [
85- " content" ,
86- " isError"
86+ " content"
8787 ],
8888 "type" : " object"
8989 },
Original file line number Diff line number Diff line change @@ -612,7 +612,13 @@ export interface ListToolsResult extends PaginatedResult {
612612 */
613613export interface CallToolResult extends Result {
614614 content : ( TextContent | ImageContent | EmbeddedResource ) [ ] ;
615- isError : boolean ;
615+
616+ /**
617+ * Whether the tool call ended in an error.
618+ *
619+ * If not set, this is assumed to be false (the call was successful).
620+ */
621+ isError ?: boolean ;
616622}
617623
618624/**
You can’t perform that action at this time.
0 commit comments