fix(tools): address review finding on heterogeneous tool registration and McpToolResponse index signature
This commit is contained in:
@@ -7,6 +7,7 @@ import type { McpServer } from "@modelcontextprotocol/sdk/server/mcp.js";
|
||||
import { OpenProjectError } from "../client/errors";
|
||||
|
||||
export interface McpToolResponse {
|
||||
[key: string]: unknown;
|
||||
content: Array<{ type: "text"; text: string }>;
|
||||
isError?: boolean;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user