OptionalavailableDisplayModes
availableDisplayModes?: string[]
OptionaldeviceCapabilities
deviceCapabilities?: { hover?: boolean; touch?: boolean }
Type Declaration
Optionalhover?: boolean
Optionaltouch?: boolean
Optionallocale
locale?: string
platform?: "web" | "desktop" | "mobile"
OptionalsafeAreaInsets
safeAreaInsets?: { bottom: number; left: number; right: number; top: number }
Type Declaration
bottom: number
left: number
right: number
top: number
OptionaltimeZone
timeZone?: string
toolInfo?: {
id: RequestId;
tool: {
_meta?: { [key: string]: unknown };
annotations?: {
destructiveHint?: boolean;
idempotentHint?: boolean;
openWorldHint?: boolean;
readOnlyHint?: boolean;
title?: string;
};
description?: string;
execution?: { taskSupport?: "optional"
| "required"
| "forbidden" };
icons?: { mimeType?: string; sizes?: string[]; src: string }[];
inputSchema: {
properties?: { [key: string]: object };
required?: string[];
type: "object";
[key: string]: unknown;
};
name: string;
outputSchema?: {
properties?: { [key: string]: object };
required?: string[];
type: "object";
[key: string]: unknown;
};
title?: string;
};
}
Type Declaration
id: RequestId
tool: {
_meta?: { [key: string]: unknown };
annotations?: {
destructiveHint?: boolean;
idempotentHint?: boolean;
openWorldHint?: boolean;
readOnlyHint?: boolean;
title?: string;
};
description?: string;
execution?: { taskSupport?: "optional"
| "required"
| "forbidden" };
icons?: { mimeType?: string; sizes?: string[]; src: string }[];
inputSchema: {
properties?: { [key: string]: object };
required?: string[];
type: "object";
[key: string]: unknown;
};
name: string;
outputSchema?: {
properties?: { [key: string]: object };
required?: string[];
type: "object";
[key: string]: unknown;
};
title?: string;
}
OptionaluserAgent
userAgent?: string
Optionalviewport
viewport?: {
height: number;
maxHeight?: number;
maxWidth?: number;
width: number;
}
Type Declaration
height: number
OptionalmaxHeight?: number
OptionalmaxWidth?: number
width: number
Description
Rich context about the host environment provided to Guest UIs.