import {
  escapeMarkdown
} from "./chunk-NUFPTHKU.js";

// src/tools/format-dataset-mutation.ts
function formatDatasetMutationDetails(result) {
  const lines = [];
  lines.push(`**Name**: ${escapeMarkdown(result.name)}`);
  lines.push(`**Slug**: ${escapeMarkdown(result.slug)}`);
  lines.push(`**ID**: ${escapeMarkdown(result.id)}`);
  if (Array.isArray(result.columnTypes) && result.columnTypes.length > 0) {
    const colNames = result.columnTypes.map((c) => `${escapeMarkdown(c.name)} (${escapeMarkdown(c.type)})`).join(", ");
    lines.push(`**Columns**: ${colNames}`);
  }
  return lines;
}

export {
  formatDatasetMutationDetails
};
//# sourceMappingURL=chunk-WVI5CJ6S.js.map