Rebased schemas
This commit is contained in:
parent
82e64d56bb
commit
e90c7945bc
1 changed files with 129 additions and 127 deletions
6
src/generated/schema.ts
generated
6
src/generated/schema.ts
generated
|
|
@ -533,7 +533,8 @@ export const McpUiToolResultNotificationSchema = z.object({
|
|||
/**
|
||||
* @description Rich context about the host environment provided to Guest UIs.
|
||||
*/
|
||||
export const McpUiHostContextSchema = z.looseObject({
|
||||
export const McpUiHostContextSchema = z
|
||||
.object({
|
||||
/** @description Metadata of the tool call that instantiated this App. */
|
||||
toolInfo: z
|
||||
.object({
|
||||
|
|
@ -665,7 +666,8 @@ export const McpUiHostContextSchema = z.looseObject({
|
|||
})
|
||||
.optional()
|
||||
.describe("Mobile safe area boundaries in pixels."),
|
||||
});
|
||||
})
|
||||
.passthrough();
|
||||
|
||||
/**
|
||||
* @description Notification that host context has changed (Host -> Guest UI).
|
||||
|
|
|
|||
Loading…
Reference in a new issue