import {
  createAnnotation
} from "./chunk-RDUXCCFR.js";
import "./chunk-CAY57CKF.js";
import "./chunk-KOO5733S.js";

// src/tools/create-annotation.ts
async function handleCreateAnnotation(params) {
  const annotation = await createAnnotation(params.traceId, {
    comment: params.comment,
    isThumbsUp: params.isThumbsUp,
    email: params.email
  });
  const rating = params.isThumbsUp === true ? " \u{1F44D}" : params.isThumbsUp === false ? " \u{1F44E}" : "";
  return `Annotation created successfully!${rating}

**ID**: ${annotation.id ?? "\u2014"}
**Trace ID**: ${params.traceId}${params.comment ? `
**Comment**: ${params.comment}` : ""}`;
}
export {
  handleCreateAnnotation
};
//# sourceMappingURL=create-annotation-SNM2J6S4.js.map