You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@@ -95,7 +95,7 @@ export function dynamicTools(endpoints: Endpoint[]): Endpoint[] {
95
95
if(!endpoint){
96
96
thrownewError(`Endpoint ${endpointName} not found`);
97
97
}
98
-
returnendpoint.tool;
98
+
returnasTextContentResult(endpoint.tool);
99
99
},
100
100
};
101
101
@@ -120,7 +120,7 @@ export function dynamicTools(endpoints: Endpoint[]): Endpoint[] {
120
120
'Invoke an endpoint in the Hanzo TypeScript API. Note: use the `list_api_endpoints` tool to get the list of endpoints and `get_api_endpoint_schema` tool to get the schema for an endpoint.',
0 commit comments