CallToolResult.isError should not be required
This commit is contained in:
parent
2c220862e2
commit
7631cdb6d1
1 changed files with 1 additions and 1 deletions
|
|
@ -719,7 +719,7 @@ export const CallToolResultSchema = ResultSchema.extend({
|
|||
content: z.array(
|
||||
z.union([TextContentSchema, ImageContentSchema, EmbeddedResourceSchema]),
|
||||
),
|
||||
isError: z.boolean().default(false),
|
||||
isError: z.boolean().default(false).optional(),
|
||||
});
|
||||
|
||||
/**
|
||||
|
|
|
|||
Loading…
Reference in a new issue