MCPcopy Create free account
hub / github.com/bytebase/dbhub / parseToolResponse

Function parseToolResponse

src/tools/__tests__/search-objects.test.ts:30–32  ·  view source on GitHub ↗
(response: any)

Source from the content-addressed store, hash-verified

28
29// Helper function to parse tool response
30const parseToolResponse = (response: any) => {
31 return JSON.parse(response.content[0].text);
32};
33
34describe('search_database_objects tool', () => {
35 let mockConnector: Connector;

Callers 1

Calls 1

parseMethod · 0.65

Tested by

no test coverage detected