import {
  updateScenario
} from "./chunk-LTEJDL4V.js";
import "./chunk-CAY57CKF.js";
import "./chunk-KOO5733S.js";

// src/tools/update-scenario.ts
async function handleUpdateScenario(params) {
  const { scenarioId, ...data } = params;
  const result = await updateScenario({ id: scenarioId, ...data });
  const lines = [];
  lines.push("Scenario updated successfully!\n");
  lines.push(`**ID**: ${result.id}`);
  lines.push(`**Name**: ${result.name}`);
  if (result.situation) lines.push(`**Situation**: ${result.situation}`);
  if (Array.isArray(result.criteria) && result.criteria.length > 0) {
    lines.push(`**Criteria**: ${result.criteria.length} criteria`);
  }
  if (Array.isArray(result.labels) && result.labels.length > 0) {
    lines.push(`**Labels**: ${result.labels.join(", ")}`);
  }
  return lines.join("\n");
}
export {
  handleUpdateScenario
};
//# sourceMappingURL=update-scenario-FKTQRAFQ.js.map