File tree 2 files changed +6
-1
lines changed
2 files changed +6
-1
lines changed Original file line number Diff line number Diff line change 1
1
{
2
2
"name" : " @deco/mcp" ,
3
- "version" : " 0.2.8 " ,
3
+ "version" : " 0.2.9 " ,
4
4
"exports" : " ./mod.ts" ,
5
5
"tasks" : {
6
6
"check" : " deno fmt && deno lint && deno check mod.ts"
Original file line number Diff line number Diff line change @@ -68,6 +68,7 @@ const slugify = (name: string) => {
68
68
} ;
69
69
export interface Tool {
70
70
name : string ;
71
+ icon ?: string ;
71
72
resolveType : string ;
72
73
description : string ;
73
74
outputSchema : JSONSchema7 ;
@@ -178,11 +179,15 @@ export const getTools = <TManifest extends AppManifest>(
178
179
additionalProperties : true ,
179
180
} ;
180
181
} ;
182
+
183
+ const icon = ( funcDefinition as { logo ?: string } ) . logo ;
184
+
181
185
return {
182
186
name : toolName ,
183
187
resolveType,
184
188
description : funcDefinition . description ?? inputSchema ?. description ??
185
189
resolveType ,
190
+ icon,
186
191
outputSchema : normalizeSchema ( outputSchema ) ,
187
192
inputSchema : normalizeSchema ( inputSchema ) ,
188
193
} ;
You can’t perform that action at this time.
0 commit comments