We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d501b2b commit 90d094bCopy full SHA for 90d094b
shell-ui/src/mcp/types.ts
@@ -58,18 +58,3 @@ export type MCPToolDefinition<
58
client: ModelContextClient,
59
) => Promise<unknown>;
60
};
61
-
62
-// Ambient type augmentation for navigator.modelContext (WebMCP API)
63
-declare global {
64
- interface Navigator {
65
- modelContext?: {
66
- registerTool(def: {
67
- name: string;
68
- description: string;
69
- inputSchema: Record<string, unknown>;
70
- execute: (params: unknown, client: ModelContextClient) => Promise<unknown>;
71
- }): void;
72
- unregisterTool?(name: string): void;
73
- };
74
- }
75
-}
0 commit comments