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 +98,7 @@ export function dynamicTools(endpoints: Endpoint[]): Endpoint[] {
95
98
if(!endpoint){
96
99
thrownewError(`Endpoint ${endpointName} not found`);
97
100
}
98
-
returnendpoint.tool;
101
+
returnasTextContentResult(endpoint.tool);
99
102
},
100
103
};
101
104
@@ -120,7 +123,10 @@ export function dynamicTools(endpoints: Endpoint[]): Endpoint[] {
120
123
'Invoke an endpoint in the Scan Documents 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