/** * Utility for extracting output from MCP tool call results * * This function implements the exact same logic used by mcp-tool-executor.ts * to ensure testMcpTool returns the same output that would be available * in a graph node's execution context. */ /** * Extract the output from an MCP tool call result. * This matches the exact extraction logic used in mcp-tool-executor.ts * * @param result - The result from client.callTool() * @returns The extracted output (structuredContent if present, otherwise parsed/raw content) * @throws Error if result is in an unexpected format */ export declare function extractMcpToolOutput(result: { isError?: boolean; content?: unknown[]; structuredContent?: unknown; [key: string]: unknown; }): unknown; //# sourceMappingURL=tool-output-extractor.d.ts.map