@eggjs/tegg-types
Advanced tools
@@ -7,2 +7,10 @@ import type { CallToolResult } from '@modelcontextprotocol/sdk/types.js'; | ||
| export type MCPToolResponse = CallToolResult; | ||
| export type MCPToolVisibility = 'model' | 'app'; | ||
| export interface MCPToolUIMeta { | ||
| resourceUri?: string; | ||
| visibility?: MCPToolVisibility[]; | ||
| } | ||
| export type MCPToolRegistrationMeta = { | ||
| ui: MCPToolUIMeta; | ||
| }; | ||
| export interface MCPToolParams { | ||
@@ -12,2 +20,3 @@ name?: string; | ||
| timeout?: number; | ||
| meta?: MCPToolRegistrationMeta; | ||
| } |
+2
-2
| { | ||
| "name": "@eggjs/tegg-types", | ||
| "version": "3.84.4", | ||
| "version": "3.85.0", | ||
| "description": "tegg types", | ||
@@ -48,3 +48,3 @@ "keywords": [ | ||
| }, | ||
| "gitHead": "95ecb267c0f5abd548960e4f90f9665002823fef" | ||
| "gitHead": "b77c789189a8f3206c2289062dc5724de6f91452" | ||
| } |
146739
0.17%2901
0.31%