import {
  createApiKey
} from "./chunk-COCNCXVJ.js";
import "./chunk-CAY57CKF.js";
import "./chunk-KOO5733S.js";

// src/tools/create-api-key.ts
async function handleCreateApiKey(params) {
  const result = await createApiKey(params);
  const lines = [];
  lines.push(`API key created successfully!
`);
  lines.push(`**Name**: ${result.apiKey.name}`);
  lines.push(`**ID**: ${result.apiKey.id}`);
  lines.push(`**Token**: \`${result.token}\``);
  lines.push(`**Created**: ${result.apiKey.createdAt}`);
  lines.push("");
  lines.push(
    "> \u26A0\uFE0F Save this token now \u2014 it will not be shown again."
  );
  return lines.join("\n");
}
export {
  handleCreateApiKey
};
//# sourceMappingURL=create-api-key-23MXYC2L.js.map