File tree Expand file tree Collapse file tree 5 files changed +4
-7
lines changed
kitchen_sink_server_node/src
kitchen_sink_server_python
solar-system_server_python Expand file tree Collapse file tree 5 files changed +4
-7
lines changed Original file line number Diff line number Diff line change @@ -91,7 +91,6 @@ function toolDescriptorMeta() {
9191 "openai/toolInvocation/invoking" : "Preparing the kitchen sink widget" ,
9292 "openai/toolInvocation/invoked" : "Widget rendered" ,
9393 "openai/widgetAccessible" : true ,
94- "openai/resultCanProduceWidget" : true ,
9594 } as const ;
9695}
9796
@@ -107,7 +106,10 @@ const widgetHtml = readWidgetHtml();
107106const toolInputSchema = {
108107 type : "object" ,
109108 properties : {
110- message : { type : "string" , description : "Message to render in the widget." } ,
109+ message : {
110+ type : "string" ,
111+ description : "Message to render in the widget." ,
112+ } ,
111113 accentColor : {
112114 type : "string" ,
113115 description : "Optional accent color (hex)." ,
Original file line number Diff line number Diff line change @@ -61,7 +61,6 @@ def tool_meta(invocation: str):
6161 "openai/toolInvocation/invoking" : "Preparing the kitchen sink widget" ,
6262 "openai/toolInvocation/invoked" : "Widget rendered" ,
6363 "openai/widgetAccessible" : True ,
64- "openai/resultCanProduceWidget" : True ,
6564 "invocation" : invocation ,
6665 }
6766
Original file line number Diff line number Diff line change @@ -80,7 +80,6 @@ function widgetDescriptorMeta(widget: PizzazWidget) {
8080 "openai/toolInvocation/invoking" : widget . invoking ,
8181 "openai/toolInvocation/invoked" : widget . invoked ,
8282 "openai/widgetAccessible" : true ,
83- "openai/resultCanProduceWidget" : true ,
8483 } as const ;
8584}
8685
Original file line number Diff line number Diff line change @@ -151,7 +151,6 @@ def _tool_meta(widget: PizzazWidget) -> Dict[str, Any]:
151151 "openai/toolInvocation/invoking" : widget .invoking ,
152152 "openai/toolInvocation/invoked" : widget .invoked ,
153153 "openai/widgetAccessible" : True ,
154- "openai/resultCanProduceWidget" : True ,
155154 }
156155
157156
Original file line number Diff line number Diff line change @@ -123,7 +123,6 @@ def _tool_meta(widget: SolarWidget) -> Dict[str, Any]:
123123 "openai/toolInvocation/invoking" : widget .invoking ,
124124 "openai/toolInvocation/invoked" : widget .invoked ,
125125 "openai/widgetAccessible" : True ,
126- "openai/resultCanProduceWidget" : True ,
127126 "annotations" : {
128127 "destructiveHint" : False ,
129128 "openWorldHint" : False ,
@@ -273,7 +272,6 @@ async def _call_tool_request(req: types.CallToolRequest) -> types.ServerResult:
273272 "openai/toolInvocation/invoking" : WIDGET .invoking ,
274273 "openai/toolInvocation/invoked" : WIDGET .invoked ,
275274 "openai/widgetAccessible" : True ,
276- "openai/resultCanProduceWidget" : True ,
277275 }
278276
279277 description = PLANET_DESCRIPTIONS .get (planet , "" )
You can’t perform that action at this time.
0 commit comments