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

Interface McpResponse

frontend/src/api/tools.ts:9–19  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

7}
8
9interface McpResponse {
10 jsonrpc: string;
11 id: string;
12 result?: {
13 content: Array<{ type: string; text: string }>;
14 };
15 error?: {
16 code: number;
17 message: string;
18 };
19}
20
21interface ToolResultData {
22 success: boolean;

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected